| Camila Macedo I believe we are following best practices already in the tests but I am very happy for you to do a small amount of research on the topic. On the difference between unit tests and integration tests. Integration testing will check if different pieces of the modules are working together. Unit testing checks a single component. Unit tests should have no dependencies on code outside the unit tested, this is why we need to introduce mocks and remove the current dependency on a running database for our unit tests. |