Advanced test runner with built in reporting and analytics
Project description
Test Junkie
Basic Usage
Save code bellow into a Python file. Lets say C:\Development\TestJunkie\demo.py
.
from test_junkie.decorators import Suite, beforeTest, afterTest, test, beforeClass, afterClass
from test_junkie.runner import Runner
@Suite()
class ExampleTestSuite:
@beforeClass()
def before_class(self):
pass
@beforeTest()
def before_test(self):
pass
@afterTest()
def after_test(self):
pass
@afterClass()
def after_class(self):
pass
@test()
def something_to_test1(self):
pass
@test()
def something_to_test2(self):
pass
@test()
def something_to_test3(self):
pass
# and to run this marvel, all you need to do . . .
if "__main__" == __name__:
runner = Runner([ExampleTestSuite])
runner.run()
You can either run this suite via your favourite IDE or via the CMD like you would run any other Python program.
Full documentation is available on test-junkie.com
Please report any bugs you find.
Teaser
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
test_junkie-0.6a2.tar.gz
(49.7 kB
view hashes)
Built Distribution
Close
Hashes for test_junkie-0.6a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00a8f0c10c71c90341f007fc038d6b96d8d629b90f62f2f72e08be473e2e9770 |
|
MD5 | 1326c825091c382b39eece1ad6c9a368 |
|
BLAKE2b-256 | 4d95c404003ac9ce824ef26096141d5534b78cb0a27388d310cb5d8b5d0148b2 |