-
Notifications
You must be signed in to change notification settings - Fork 138
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Milestone
Description
Update our developer testing doc to cover running tests in parallel.
Doc should mention:
- In general, all tests should be parallelizable
- To run a go test in parallel, you must add
t.Parallel()
to every test and every subtest - Ginkgo tests automatically run in parallel.
- If the component under test requires sequential tests -- for example, the change processor tests -- you can run the test sequentially by using an Ordered container for ginkgo tests or omitting the
t.Parallel()
from a go test or subtest. In these cases, you must add a comment to the test explaining why it cannot be run in parallel.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation