project-kb icon indicating copy to clipboard operation
project-kb copied to clipboard

Move unit tests in their specific module based on their goals

Open geryxyz opened this issue 4 years ago • 1 comments

As far as I know, there are two kinds of test cases in the codebase. The classical unit tests and the ones used to provide a sample usage for the features. This latest one show some similarity to automatic end-user or integration tests. Currently, these are mixed into the same module (into the same py file). My suggestion is to move these later ones into their dedicated module and specify their development processes' roles more clearly.

geryxyz avatar Jun 23 '21 08:06 geryxyz

I absolutely agree, we should distinguish them. The integration tests could be moved to files named test_integration_******.py

copernico avatar Jun 23 '21 13:06 copernico