New ask Hacker News story: Ask HN: Best resources to learn code testing

Ask HN: Best resources to learn code testing
3 by deanmoriarty | 0 comments on Hacker News.
I have more than a decade of experience in software development (now team lead at a FAANG, working on higher level systems) and I embarrassingly realize I still do not know how to write good tests and testable code. Specifically: - How to structure production code so that it’s testable - How to effectively deal with dependency injection for testing - The surface area and granularity of unit tests (what behavior should be tested vs not) - When to use mocks/stubs/fakes What are the best resources to fix my gaps? Open to books, courses, videos, etc.

Comments

Popular posts from this blog

New ask Hacker News story: Tell HN: Equifax free credit report dark patterns

New ask Hacker News story: Ask HN: Why can't the US government run their own social media?