Automatically test your functions to see if you have changed their behavior by mistake!
View Demo
·
Report Bug
Have you ever spent hours reworking someone else's code, trying not to break anything, only to realize at the last moment that something doesn't work anymore, but not knowing at which step you introduced the bug? So frustrating!
AutoTest!Reg allows you to automatically track the code you are working on and not introduce any regression, without writing a single test!
Using AutoTest!Reg requires no effort at all!
Install AutoTest!Reg with pip :
pip install autotestreg
Import AutoTest!Reg into your tests, adding this line:
import autotestreg
To follow a function my_func
, this code is all you need:
from autotestreg import autotest_func
def my_func():
...
autotest_func(my_func)
To track an entire module mypackage
, with all the functions and methods it contains:
from autotestreg import autotest_module
import mypackage
autotest_module(mypackage)
If no regression was introduced when you modified the code, your tests will pass.
Otherwise, AutoTest!Reg will give you the function whose behavior was changed.
(Section in english)
I want to add a lot of functionnalities to this project, but I don't have much time to work on it. Contributions are welcome!
Task | Importance | Difficulty | Contributor on it | Description |
---|---|---|---|---|
./5 | ./5 | NOBODY | e.g. : ... |
Non-Code contribution :
Task | Importance | Difficulty | Contributor on it | Description |
---|---|---|---|---|
./5 | ./5 | NOBODY | e.g. : ... |
For every todo, just click on the link to find the discussion where I describe how I would do it.
See the open issues for a full list of proposed features (and known issues).
Contributing is an awesome way to learn, inspire, and help others. Any contributions you make are greatly appreciated, even if it's just about styling and best practices.
If you have a suggestion that would make this project better, please fork the repo and create a pull request.
Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/YourAmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This library was created by Nicolas MICAUX.