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

Improve unit-testing #6

Open
andrewrosemberg opened this issue Sep 9, 2023 · 0 comments
Open

Improve unit-testing #6

andrewrosemberg opened this issue Sep 9, 2023 · 0 comments
Labels

Comments

@andrewrosemberg
Copy link
Member

andrewrosemberg commented Sep 9, 2023

Improve coverage to be above 95%; Ref: andrewrosemberg/HydroPowerModels.jl#13
Some ideas (but any good test is welcome):
- An initial idea could be to add unit tests for functions that create new constraints, variables and add terms to the objective (check if the expression is correct).
- Similar tests to https://github.com/NREL-Sienna/HydroPowerSimulations.jl
- Similar tests to: https://github.com/lanl-ansi/PowerModels.jl
- Add tests to textbook cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant