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

Signed-off-by: Daniel Han <dhan17@bloomberg.net>
  • Loading branch information
dan-han-101 committed Aug 1, 2023
1 parent 6120974 commit bde84b7
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 bde84b7

Please sign in to comment.