3 ms·
Great idea. I do PHP training, and one of the things I did in some classes is to give failing unit tests to students and have them make them work. I noticed a
by mgkimsal 15y ago
Great idea. I do PHP training, and one of the things I did in some classes is to give failing unit tests to students and have them make them work. I noticed a couple of consistent points when I'd do this:
1. How some students came up with interesting approaches I wouldn't have initially thought up.
2. How many students wouldn't get the tests to pass. They'd do something part way, which would have looked 'good enough' if I'd just described the problem. But when running via a test runner, it failed.