unit/tests
unit/tests
Unit tests are individual tests for small sections of code to verify their correctness. Why use it? Unit tests help catch bugs early, facilitate refactoring, and improve code quality. Best practices include testing each function independently and using test-driven development (TDD). Unit tests have been a standard practice in software engineering since the 1970s.
Source: