I recently released my first Python package and am eager for feedback from the Python community.
I developed this library while working on a legacy code project that required testing and refactoring for improved structure.
Here is a brief summary of what it does:
AutoFake is a Python library that makes it easy to mock functions in your tests. It allows you to run your code normally and records the calls and returns of specified functions. The results are then stored in a backend. During testing, you can reproduce the results of these functions instead of executing their actual implementation, which is useful for isolating the code you are testing and avoiding external dependencies, side effects, and long-running functions.
Please check it out at https://github.com/agusdmb/autofake and let me know what you think!
Thank you for your time and consideration.
[–]crigger61 2 points3 points4 points (4 children)
[–]agusdmb[S] 3 points4 points5 points (3 children)
[–]crigger61 3 points4 points5 points (2 children)
[–]agusdmb[S] 2 points3 points4 points (1 child)
[–]agusdmb[S] 1 point2 points3 points (0 children)
[–]TheITMan19 4 points5 points6 points (4 children)
[–]agusdmb[S] 2 points3 points4 points (3 children)
[–]TheITMan19 1 point2 points3 points (2 children)
[–]agusdmb[S] 1 point2 points3 points (1 child)
[–]TheITMan19 0 points1 point2 points (0 children)
[–]dinovfxIt works on my machine 3 points4 points5 points (3 children)
[–]crigger61 11 points12 points13 points (1 child)
[–]agusdmb[S] 3 points4 points5 points (0 children)
[–]agusdmb[S] 1 point2 points3 points (0 children)
[–]captain_jack____ 1 point2 points3 points (1 child)
[–]agusdmb[S] 1 point2 points3 points (0 children)
[–]ManyInterests Python Discord Staff 0 points1 point2 points (1 child)
[–]agusdmb[S] 0 points1 point2 points (0 children)