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

Test functions are missing #35

Open
5 tasks
j-ti opened this issue Mar 4, 2020 · 2 comments
Open
5 tasks

Test functions are missing #35

j-ti opened this issue Mar 4, 2020 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@j-ti
Copy link
Contributor

j-ti commented Mar 4, 2020

Everything that is not tested in oemof has to be tested, especially cases that are always true or false, respectively.

  • overall tests
  • components
  • helper functions
  • model construction
  • ...
@j-ti j-ti added the help wanted Extra attention is needed label Mar 4, 2020
@j-ti j-ti self-assigned this Mar 4, 2020
@b-r-u b-r-u mentioned this issue Mar 24, 2020
@stefansc1
Copy link
Contributor

Tried to write some tests for run_optimization, but the Python package build fails with no module named 'oemof' - how am I supposed to test code if I can't import it?

@stefansc1
Copy link
Contributor

Update: made Python package checks run only for test_something. This avoids having to install oemof for the basic Python checks, while Travis can check the full smooth suite. Now all checks pass.

@j-ti j-ti removed their assignment Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants