Software Engineering Tidbits • 334 implied HN points • 20 Feb 23
- A good unit test should be idempotent and independent/atomic.
- Unit tests should be fast by mocking dependencies to not delay the development process.
- Unit test code is as important as product code and should follow guidelines for elegant code.