Pragmatic unit testing - summary
https://www.youtube.com/watch?v=5iJWOPaNZDA
Unit tests should do two things
ensure you can refactor the code, and the unit test will still pass
So the test must be at a high enough level that it is testing the desired outcome / behaviour of the cod...
coderlyn.hashnode.dev1 min read