Comment

Comment by zulgan

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
parent zulgan 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton