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
sure should be a test runner and just like lettuce, provide the following feature:
a "bootstrap" file
when running sure should try to import a confidency.py and there the developer will be able to declare some "hooks":
# confidence.pyfromsure.hooksimportbefore, after@before.each_testdefclear_database(test):
if"myapp.redis_layer"intest.__module__:
# do whatever actions specific to tests under myapp.redis_layer
Sure provides you with a test runner that gives you full control
over the process to the granularity of a single test case.
You can write your tests anywhere, sure will find, run, count up the
duration and allow running every test case, in the end you get
acquainted with the statistics of your python codebase: what parts
have test coverage, where you should refactor or add coverage.
It also runs flake8 against
your test code and blame you when your tests are too complex
Ahh yes, you can also run only a given subset of test cases, force
slow tests to fail.
The text was updated successfully, but these errors were encountered:
sure should be a test runner and just like lettuce, provide the following feature:
a "bootstrap" file
when running sure should try to import a
confidency.py
and there the developer will be able to declare some "hooks":rant of possible hooks:
@before.each_test
@before.each_module
@before.each_package
@before.all
@after.each_test
@after.each_module
@after.each_package
@after.all
EDIT by @timofurrer: content of former TODO.md:
The text was updated successfully, but these errors were encountered: