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

UNITTESTS Add the sub package for unittests #33

Merged
merged 4 commits into from
Oct 2, 2017

Conversation

lnksz
Copy link
Contributor

@lnksz lnksz commented Aug 27, 2017

The files serve mainly as skeletons, but some actual tests are already added.

All can be executed from the rivus project directory with:

cd /to/rivus/project/root/
python -m unittest

This command discovers the test_ files and executes them.

Or you can also specify to only run one group of test:

cd /to/rivus/project/root/
python -m unittest rivus.tests.test_main

The files serve mainly as skeletons, but some actual tests are already added.
@lnksz lnksz mentioned this pull request Aug 27, 2017
15 tasks
lnksz and others added 3 commits August 28, 2017 09:43
Test were ment to be run from project level with python -m unittest and not from the package itself. If this is needed it can be later added with some fix mentioned in PEP366
@KSchoenleber KSchoenleber merged commit 3a6339d into tum-ens:master Oct 2, 2017
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

Successfully merging this pull request may close these issues.

2 participants