Sep 8, 2018 · 1 min read
Engineering 101: Efficiency.
“ Invest in continuous integration and aim for full unit test coverage”
Sorry but no.
You can’t fully test the Repository without a real database.
You can’t test the UI by using Unit Test.
You can’t test the model class.
There are many developers that GAMIFICATE the unit test. Unit test is not about coverage but about usability. We use unit test because it saves us time. If it doesn’t save us time then not, then we don’t use it. If we test everything, including feature that works or doing dummy test, then we are fooling ourselves.
