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
16
16
should have a thorough set of unit
17
17
tests. These tests should exercise the full functionality of a given
18
18
routine 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
26
20
an enormous difference to the ease of refactoring. Whenever a new bug
27
21
is found in a routine, you should write a new test for that specific
28
22
case 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