Unit testing principles, practices, and patterns
Unit Testing Principles, Patterns and Practices teaches you to design and write tests that target the domain model and other key areas of your code base. In this clearly written guide, you learn to develop professional-quality test suites, safely automate your testing process, and integrate testing...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Shelter Island, New York :
Manning
[2020]
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009631346306719 |
Tabla de Contenidos:
- Part 1. The bigger picture. The goal of unit testing
- What is a unit test?
- The anatomy of a unit test
- Part 2. Making your tests work for you. The four pillars of a good unit test
- Mocks and test fragility
- Styles of unit testing
- Refactoring toward valuable unit tests
- Part 3. Integration testing. Why integration testing?
- Mocking best practices
- Testing the database
- Part 4. Unit testing anti-patterns. Unit testing anti-patterns.