guh.me - gustavo's personal blog

Unit Testing Principles, Practices, and Patterns

These are my notes on the book Unit Testing Principles, Practices, and Patterns, by Vladimir Khorikov. This is a great book on testing that I read during our book club at Instapro.

1. The Goal of Unit Testing

2. What is a Unit Test?

3. The Anatomy of a Unit Test

SUT = System Under Test

4. The Four Pillars of a Good Unit Test

5. Mocks and test fragility

6. Styles of Unit Testing

7. Refactoring toward valuable unit tests

8. Why Integration Testing?

9. Mocking Best Practices

10. Testing the Database

11. Unit testing anti-patterns