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
Regression testing framework for Python 3.4+. It's useful in unit and module testing when creating or rewriting test data is too boring. After you canonized the ideal output result all tests will pass until the data changes moment.
8
+
Testoot like "test out" of code for Python 3.4+. It's useful in unit and module testing when creating or rewriting test data is too boring. After you canonized the ideal output result all tests will pass until the data changes moment.
9
9
10
10
- Writes data to the local filesystem storage
11
11
- Supports binary, text, json and picklable objects
@@ -17,17 +17,17 @@ Currently integrates best with the PyTest, but other frameworks are also welcome
17
17
18
18
One pytest function is the scope of the result. Newly calculated data compares with the original canonized result.
19
19
20
-
# regress is the function scope helper fixture easy to setup
21
-
def test_simple(regress: Testoot):
20
+
# testoot is the function scope helper fixture easy to setup
21
+
def test_simple(testoot: Testoot):
22
22
result = {'a': 1}
23
-
regress.test(result) # Commit first time
23
+
testoot.test(result) # Commit first time
24
24
25
25
result2 = {'a': 1}
26
-
regress.test(result2) # Ok. No object result changes
26
+
testoot.test(result2) # Ok. No object result changes
0 commit comments