You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I fixed a wrong doctest. You can write doctests in your docstring as it is done in the linear_constraints module. These are tests and examples in documentation.
Or you can use the test folder and create your own testing module or use the existing module. These test are just test.
To execute the test use nosetests3.
cd /path/to/oemof_base/
nosetests3 --with-doctest
I like the rednose option but you do not need it. It brings some colors 😄
cd /home/uwe/git/oemof_base/
nosetests3 --with-doctest --rednose
To see more examples for tests, have a look at the feedinlib.
@oemof/oemof-main : What about one test for everybody until the January release ⁉️
@oemof/oemof-main:
The January release has a focus on test. This is just a reminder for all developers that test have to be
written!
The text was updated successfully, but these errors were encountered: