File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,7 @@ Our goal is that every module and package in NumPy
1616should have a thorough set of unit
1717tests. These tests should exercise the full functionality of a given
1818routine as well as its robustness to erroneous or unexpected input
19- arguments. Long experience has shown that by far the best time to
20- write the tests is before you write or change the code - this is
21- `test-driven development
22- <https://en.wikipedia.org/wiki/Test-driven_development> `__. The
23- arguments for this can sound rather abstract, but we can assure you
24- that you will find that writing the tests first leads to more robust
25- and better designed code. Well-designed tests with good coverage make
19+ arguments. Well-designed tests with good coverage make
2620an enormous difference to the ease of refactoring. Whenever a new bug
2721is found in a routine, you should write a new test for that specific
2822case and add it to the test suite to prevent that bug from creeping
You can’t perform that action at this time.
0 commit comments