Test-driven development(TDD), JUnit4(migration JUnit5), Gradle, and Mockito.🐞👩💻
ISBN Validator for 10 and 13 digits formats developed following TDD programming technique that includes:
Project Summary:
- JUnit4 examples.
- JUnit5 migration/refactor.
- Gradle project refactor.
- Unit tests for lookup method with Mockito:
- dataBaseIsUsedIfDataIsPresent & webServiceIsUsedIfDataIsNotPresentinDB(interface class).
TDD Mindset:
- Focus on code design👩💻.
- Small steps 🚶.
- Short feedback loops 🔁.
- Continuous refactoring 🚀.