-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pages): add pages on environments, testing, the tech test
- Loading branch information
1 parent
20fafc3
commit fc58599
Showing
3 changed files
with
100 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Testing | ||
|
||
Make sure that the tests in the codebase are correct, sensible, and useful. | ||
Tests do not test themselves, and we rarely write tests for our tests—a human | ||
must ensure that tests are valid. | ||
|
||
Will the tests actually fail when the code is broken? If the code changes | ||
beneath them, will they start producing false positives? Does each test make | ||
simple and useful assertions? Are the tests separated appropriately between | ||
different test methods? | ||
|
||
Remember that tests are also code that has to be maintained. Don’t accept | ||
complexity in tests just because they are not part of the main product/binary. | ||
If there are ways to compartmentalise behaviour into smaller and more | ||
predictable chunks, it is advised to do so as it makes it easier for product | ||
maintainers to understand expected behaviour. |