unit tests
you have to check everything. but not all with unit tests. unit tests are environment independent - databases, internet connections, etc. Best practices for working with unreliable / unstable third-party tools are to create a level of anti-corruption protection between your code and third-party code. therefore, edit your code to make your business logic as independent as possible. and a business logic block test.
, , " ". ( ), , . ,
- ( ), , , , , .
-
(db, network etc), . - -, , . SQL- .
, ( sql). , , , /. , SQL- db-in-memory db (oracle, postgres ..). , , . , .