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

Create individual test for the functions that creates the constraints in the model #749

Open
datejada opened this issue Aug 23, 2024 · 1 comment

Comments

@datejada
Copy link
Member

What and Why

We want to add tests for each function that creates constraints that do not depend on the case studies (as it currently does). For instance, to test the ramping constraints, we have the Norse case with some input data that creates the constraint. But we would like to have a test that, given some inputs, returns the expected constraint (maybe without running the full energy problem).

This approach is similar to the one in SpineOpt (which is a good practice there)

Possible Drawbacks

  • It increases the number of tests
  • It might be not easy to set up the first time.

Related Issues

Blocked by #701

@datejada
Copy link
Member Author

@abelsiqueira, feel free to add or change something in the issue.

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

2 participants