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

REMINDER: January Realse Nose Tests! #47

Closed
simnh opened this issue Jan 11, 2016 · 2 comments
Closed

REMINDER: January Realse Nose Tests! #47

simnh opened this issue Jan 11, 2016 · 2 comments

Comments

@simnh
Copy link
Member

simnh commented Jan 11, 2016

@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!

@simnh simnh self-assigned this Jan 11, 2016
@simnh simnh added this to the January 2016 Release milestone Jan 11, 2016
@uvchik
Copy link
Member

uvchik commented Jan 19, 2016

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 ⁉️

@ckaldemeyer
Copy link
Member

👍

@simnh simnh closed this as completed Jan 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants