| I understand that we need to improve the unit tests, however, it should be part of another task. The idea here was just add in the project a way to add the generate and use the mocks with this lib/dep. Also, shows that the only unit test added so far in the project, which is not in the repository layer, was updated in order to use the mock. The rest of the tests implemented so far shows to be integrations tests. IMHO shows that is required we check further how the tests should be implemented then implement them according to the go definitions and best practices. Some reasons for it is we are not using the go asserts as shows are the best practice, and how could we define/make implicitly in the code what is the unit test and integration tests? |