Open Ludee opened 1 year ago
The CI structure documented in the repo is good, but it uses tox
, which might be overkill for many smaller projects. In this case, I suggest to just use pytest. Tox is good for running tests in multiple environments (for multiple Python versions) and also for setting up the infrastructure first to run integration tests (tests that check functions that depend on other functions/services).
In any case, to demonstrate the basic TDD workflow to beginners, it is better to start without Tox. With pytest you can implement tests that fail without any overhead. Then the functionality is implemented and the test is executed again until all tests pass successfully.
[Edit] I will just implement it using tox ... we can still create a guide that uses pytest.
For some reason this was not closed after the merge. Do you want to keep this issue open? @Ludee
Description of the issue
I just found an existing repo template that has well documented CI structures. https://github.com/joaomcteixeira/python-project-skeleton
Ideas of solution
Merge or import the features. Give proper attribution.
Workflow checklist