You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Authentication service, endpoint and all dependencies are untested. In fact, no code in the codebase have tests written! This is bad, because this means a developer must manually test code each time, which is inefficient and not accurate. Tests improve the robustness of the code. When writing tests, it allows you to improve the code so that it is more sustainable, less bug prone, easier to debug and to read.
Solution
Read through "Clean Code Collection" by Uncle Bob. Implement those concepts into cleaning up the codebase code. Read up or follow a course on testing (not just unit testing, testing in its entirety), and use that concepts to write tests. Look at tests written in repositories like Vapor and ask brother if he can give me some code and test examples in its entirety as reference.
The text was updated successfully, but these errors were encountered:
Description:
Authentication service, endpoint and all dependencies are untested. In fact, no code in the codebase have tests written! This is bad, because this means a developer must manually test code each time, which is inefficient and not accurate. Tests improve the robustness of the code. When writing tests, it allows you to improve the code so that it is more sustainable, less bug prone, easier to debug and to read.
Solution
Read through "Clean Code Collection" by Uncle Bob. Implement those concepts into cleaning up the codebase code. Read up or follow a course on testing (not just unit testing, testing in its entirety), and use that concepts to write tests. Look at tests written in repositories like Vapor and ask brother if he can give me some code and test examples in its entirety as reference.
The text was updated successfully, but these errors were encountered: