Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop testing infrastructure to allow project-agnostic testing of flowsheet interfaces #3

Open
lbianchi-lbl opened this issue Nov 6, 2024 · 0 comments
Assignees

Comments

@lbianchi-lbl
Copy link
Contributor

Currently, my plan is to add a pytest plugin to this package (so that it's installed and available alongside the library code) that runs a series of standard validation tests for all registered interfaces.

The plugin would be opt-in, i.e. would only run when the identifier for a specific source of interfaces is given. In the first iteration, this would be the entry points group. As an example, for WaterTAP, the entry points group is watertap.flowsheet, so the plugin would be invoked as

pytest --flowsheet-entry-points watertap.flowsheet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant