Skip to content

Commit f5553fd

Browse files
committed
Wf rename
1 parent 1382842 commit f5553fd

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/regress.yml renamed to .github/workflows/testoot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Testoot test
1+
name: Testoot
22

33
on:
44
push:

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Regress
1+
# Testoot
22

3-
![](https://github.com/aptakhin/regress/workflows/Regress%20test/badge.svg)
3+
![](https://github.com/aptakhin/testoot/workflows/Testoot/badge.svg)
44
[![codecov](https://codecov.io/gh/aptakhin/regress/branch/master/graph/badge.svg)](https://codecov.io/gh/aptakhin/regress)
55
[![Documentation Status](https://readthedocs.org/projects/testoot/badge/?version=latest)](https://testoot.readthedocs.io/en/latest/?badge=latest)
66
[![Maintainability](https://api.codeclimate.com/v1/badges/4bab5c99811799725609/maintainability)](https://codeclimate.com/github/aptakhin/regress/maintainability)
77

8-
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.
99

1010
- Writes data to the local filesystem storage
1111
- Supports binary, text, json and picklable objects
@@ -17,17 +17,17 @@ Currently integrates best with the PyTest, but other frameworks are also welcome
1717

1818
One pytest function is the scope of the result. Newly calculated data compares with the original canonized result.
1919

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):
2222
result = {'a': 1}
23-
regress.test(result) # Commit first time
23+
testoot.test(result) # Commit first time
2424

2525
result2 = {'a': 1}
26-
regress.test(result2) # Ok. No object result changes
26+
testoot.test(result2) # Ok. No object result changes
2727

2828
result3 = {'a': 3} # Try commit change. Raised the AssertionError
2929
with pytest.raises(AssertionError) as e:
30-
regress.test(result3)
30+
testoot.test(result3)
3131

3232
To continue exploring you can visit the [quickstart](https://testoot.readthedocs.io/en/latest/usage/quickstart.html).
3333

@@ -51,7 +51,7 @@ Making virtualenv with development requirements:
5151

5252
venv/bin/pytest -s tests
5353
venv/bin/flake8 testoot --show-source --statistics
54-
venv/bin/pytest --cov=regress --cov-report html
54+
venv/bin/pytest --cov=testoot --cov-report html
5555

5656
Or for automatizing:
5757

0 commit comments

Comments
 (0)