-
Notifications
You must be signed in to change notification settings - Fork 3
Unit-Tests depend on functional tests #91
Comments
A workaround to avoid having to run all the tests is to run any functional tests before running any unit test, e.g.:
|
This is not true for all unit tests but for Lines 22 to 26 in d3a8565
e.g. through Line 898 in d3a8565
|
ringo-framework/pytest-ringo#1 makes it possible to run unit tests without functional tests. However, the side effect of functional tests remains. Probably their should be some tearDown to avoid this. |
While running all automatic tests with
py.test --app-config test.ini -x
as well as running only functional tests withpy.test --app-config test.ini -x ringo/tests/functional/
works, running only unit tests withpy.test --app-config test.ini -x ringo/tests/unit/
or a single unit test with e.g.py.test --app-config test.ini -x ringo/tests/unit/test_helpers.py
fails with anUnboundExecutionError
in get_bind().The text was updated successfully, but these errors were encountered: