Closed KasiaKoz closed 7 months ago
I was also surprised to find almost no changes to test code - why is that? Is most of the code that moved untested?
@mfitz It's tested via cli commands, I could add testing the functions as well, but it would be almost exactly the same kind of tests, duplicating things. These are more on the integration side of testing too so not super fast to run. (and the rest of the code used within the recipe functions is unit tested throughout genet, the recipe functions just use those in a specific way to use genet..)
@mfitz I tidied up the logging config which was in a couple of places, renamed the module and improved testing to separate the testing of recipes code and cli just testing that it calls on the right function with the right arguments.
Moved genet and non-cli code out of the main cli module.
On the side - the genet help command feels a bit slow. I thought maybe moving and tidying up the imports would speed it up, it did a little but not as much as I hoped.