Skip to content

Commit e8f1e72

Browse files
author
Lukas Puehringer
committed
Remove testing recommendations
We want to keep the style guide as minimal as possible. Recommendations about code testing should go into a separate document (see theupdateframework/python-tuf#1129).
1 parent f88d6c0 commit e8f1e72

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

python.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,3 @@ It seems a bit lost here. -->
208208
If returning early is not an option, and `if` and `else` are thus both
209209
needed, it is slightly preferable to keep the shorter clause first, so that
210210
the `else` isn't too far from the `if`.
211-
212-
213-
214-
### Testing
215-
216-
<!-- TODO: Should we add more tangible instructions? -->
217-
218-
Write 90% tests. The test should make sure that it will catch 90% of the
219-
potential problems with the function. Avoid writing 50% tests (that only check
220-
a common case or two) and avoid writing 99.9% tests because it will consume too
221-
much of your time.

0 commit comments

Comments
 (0)