Metadata-Version: 2.1
Name: testOrganizer
Version: 0.0.5
Summary: Organize tests and show results
Home-page: https://github.com/smirad91/testOrganize
Author: smirad91
Author-email: smirad91@gmail.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/smirad91/testOrganize/issues
Keywords: test,before,after,automation,result,console,output
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown

How to use it:


from Lib.TestDecorator import test, beforeEachTest, afterEachTest, print_result

@beforeEachTest()
def be():
print("before each test")

@afterEachTest()
def ae():
print("after each test")


@test("First test", should_execute=False, info="Bug found")
def test1():
print("test")

@test("Second test")
def test2():
print("test")

print_result()


Important notes:
-beforeEachTest and afterEachTest must be defined first
-at the end of file print_result() must be called so that result is printed to console
-for sharing variables over functions, python rules are applied




