3 ms·
TDD works best if you default to testing at the outer shell of the app - e.g. translating a user story into steps executed by playwright against your web app an
by MoreQARespect 3y ago
TDD works best if you default to testing at the outer shell of the app - e.g. translating a user story into steps executed by playwright against your web app and only TDDing lower layers once youve used those higher level tests to evolve a useful abstraction underneath the outer shell.
It seems to be taught in a fucked up way though where you imagine you want a car object and a banana object and you want to insert the banana into a car or some other kind of abstract nonsense.