php icon indicating copy to clipboard operation
php copied to clipboard

Bowling - inline test helper functions setUp and rollMany

Open mk-mxp opened this issue 6 months ago • 3 comments

In this forum thread once again a student struggled with DRY'ed tests. We should not hide test details behind helper functions like rollMany() or setUp().

Instead inline all the details into the individual test methods and make students see exactly what is happening, so they can focus on solving the exercises and not be distracted by analysing helper functions or PHP unit test automations.

mk-mxp avatar Jul 05 '25 09:07 mk-mxp