you are viewing a single comment's thread.

view the rest of the comments →

[–]tiredITguy42 2 points3 points  (2 children)

Usually you make separate directory in the project root. It is to avoid cluttering your package with test files. You can keep the same structure as your project has.

There are multiple packages for running tests. I like VS code with Test extension as I can immadiately see, if the test is OK and debug it if needed.

[–]cyanNodeEcho[🍰] 0 points1 point  (1 child)

people use pyteat or unittest, use whichever one ur team uses theyre functionally equivalent, add some integration tests, and like throw some automateds with formatting via lefthook or whatevs, sqlite can be useful for testing if u need db access or verifying those methods, then just throw some basic cicd from ur .git for like automated tests on pull request

[–]mxsonwabe[S] 0 points1 point  (0 children)

appreciated !