Writing tests is crucial. Sometimes it’s difficult, sometimes boring, but it is needed to prove that the system works correctly. When an application includes a database, queue or other dependencies, then you need to write integration tests, confirming that integration with those systems is done properly. You need to check…