Skip to content

Commit

Permalink
Sets expectations for testcaserun predicates
Browse files Browse the repository at this point in the history
The documentation update sets expecations on the sequence of expected
test events.

This update was triggered by discussions in
cdevents#140
  • Loading branch information
Daniel Han committed Jun 26, 2023
1 parent 6120974 commit 781df08
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion testing-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ Testing events covers the subjects and predicates related to test-execution perf
## Subjects

This specification defines three subjects in this stage: `testCaseRun`, `testSuiteRun` and `testOutput`.
This specification defines three subjects in this stage: `testCaseRun`, `testSuiteRun` and `testOutput`. When a producer sends `testCaseRun` or `testSuiteRun` messages, they should meet the following expecations:
- a `queued` event may optionally be followed by a `started` event
- a `queued` event must be followed by a `finished` event
- a `started` event must be followed by a `finished` event
- a `finished` event may be sent independent of a `queued` or `started` event

| Subject | Description | Predicates |
|---------------------------------|----------------------------------------------|------------------------------------------------------------------------------------------------------------|
Expand Down

0 comments on commit 781df08

Please sign in to comment.