If I give you a code without git history, could you tell if that code has been done with #TDD?

If so, which are the hints that tell you test first vs test last?

@aleixmorgadas 1. existence of tests :)
2. high (80-90%, but <100%) coverage (branch/path)
3. small tests with simple setup, easy to read
(3.1. e.g. little or just very straight forward mocks)
4. order of tests (from simple case to edge case)

Follow

@RichardWallintin @aleixmorgadas A lack of over engineering. Every use case for a module is tested and the code only does what it needs to do to make those tests pass.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.