approuch - sergeyzolotukhin/learn-java-gradle GitHub Wiki
Failure Injection Testing (FIT)
- We schuld be write more tests for must critical functionality.
- We should be write more tests for code with lot of dependecy for it. (common utils, library)
- We should be write more tests when has a high probability of mistakes.
= We schuld be write more tests must friquency changed code. Why?
What is Mutation Testing ?
- cost,
- speed
- confidence (довение)
* crate database template
* create database dump
* use DBUnit library
* use TestContiner library (Docker)
* create docker base immage (Docker)
* recreate database from scratch
https://www.baeldung.com/spring-tests