this is our take on it: https://eng.rekki.com/unit-testing-at-rekki/t.txt
TLDR:
* test your core, make sure your core is strong
* don't test your http api
* don't mock
* don't test writing and reading from the database
* don't complicate your code to make it testable
* ... unless you deem fit