I like the idea of decoupling the tests from the frameworks following a Clean Architecture / Hexagonal Architecture (an example https://github.com/brianium/clean-todos).
I’m also thinking about writing tests in the same file as the production code, I’m wondering how wrong it could be. I like the idea because of how the test can be useful to understand the code.
I like the idea of decoupling the tests from the frameworks following a Clean Architecture / Hexagonal Architecture (an example https://github.com/brianium/clean-todos).
I’m also thinking about writing tests in the same file as the production code, I’m wondering how wrong it could be. I like the idea because of how the test can be useful to understand the code.