4 ms·
I've heard this called "outside-in" testing.
by voodootrucker 8y ago
I've heard this called "outside-in" testing.
- walligatorrr 8y agoI thinks this is more something like ATDD (acceptance test driven development) consisting in capturing specifications in acceptance tests and use them in a second loop to drive traditional TDD. Outside-in TDD or mockist TDD following Martin Fowler’s vocabulary is just a TDD technique extensively using test doubles in order to define how actors collaborate or interact with each other to achieve the specifications.
- lancerkind 8y agoAgreed: * Step 1) (macro) ATDD one or more acceptance criteria * Step 2) (micro) TDD your code to get a macro test to pass.
- lancerkind 8y agoI played a bit with mock driven development (I think this is the same as mockist). I so for haven’t found that valuable other than as a kata for learning a new mocking framework. @walligaotr Have you found mockist useful?