You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
grade-school: remove potential test pollution #371
The grade-school exercise creates a single instance of School and uses it through the entire test suite. The suite has deftly avoided test pollution by leaning on deterministic test ordering and using different grades in each test. This sets a bad example of how to organize tests: each test should be isolated from the others so as to avoid false negatives (test failures when there is no corresponding defect in the code) and false positives (tests passing when a defect exists but is covered up by side-effects of earlier tests).
Please move the construction of School into a setUp() method.
Hi @jtigger , I am learning Java now and I am just starting to contribute to GitHub projects, but if you don't mind I would like to take a shot at this.
Activity
rado-radoev commentedon Mar 10, 2017
Hi @jtigger , I am learning Java now and I am just starting to contribute to GitHub projects, but if you don't mind I would like to take a shot at this.
exercism#371 grade-school: remote test pollution
jtigger commentedon Mar 20, 2017
I'm delighted you're digging in, @superklamer. Your PR looks good (included some rebase help, there). Thanks for your support!