Add missing philosophy section

pull/5369/head
Thomas Strömberg 2019-09-16 06:41:44 -07:00 committed by GitHub
parent f20e278664
commit 87928a4a7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -22,3 +22,8 @@ See `main.go` for details.
## Testing philosophy
- Tests should be so simple as to be correct by inspection
- Readers should need to read only the test body to understand the test
- Top-to-bottom readability is more important than code de-duplication
Tests are typically read with a great air of skepticism, because chances are they are being read only when things are broken.