https://kotlinlang.org logo
Title
o

Oliver Eisenbarth

05/05/2023, 8:42 AM
Hi, I'm working through the testing-hyperpyramid code and I wonder if the
e2e
module /
CustomerBuysItemScenario
was the starting point when developing outside-in? I never did TDD, but I would like to try and I don't know where to start and if one could start with a module like
images
?
d

dave

05/05/2023, 10:20 AM
We tend to build up the scenarios incrementally.. so the very first slice would be a test which just did the action
listItens()
, or some other tiny vertical slice which threads through the entire system. This process is defined pretty well in the GooS book (which is Java, but very worth reading if only for it's approach to software development): http://www.growing-object-oriented-software.com/
o

Oliver Eisenbarth

05/05/2023, 10:22 AM
Thank you very much, David!
d

dave

05/05/2023, 10:23 AM
Obviously our process deviates somewhat (we don't recommend mocks for instance), but the grains of the approach are there
Also worth looking up : https://wiki.c2.com/?WalkingSkeleton