-
Notifications
You must be signed in to change notification settings - Fork 61
Added example and documentation of EiffelTestSuiteStartedEvent. #54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
d-stahl-ericsson
merged 7 commits into
eiffel-community:topic-drop3
from
d-stahl-ericsson:topic-drop3-eiffeltestsuitestarted
Aug 31, 2016
Merged
Changes from 5 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
7d7e3a4
Added example and documentation of EiffelTestSuiteStartedEvent.
d-stahl-ericsson 5a481af
Added missing line break.
d-stahl-ericsson bc1fa4e
Fixed copy-paste errors. Changed data.category to data.categories.
d-stahl-ericsson 963304e
Added missing comma in example.
d-stahl-ericsson f118737
Fixed pull request review comments.
d-stahl-ericsson 2a110bd
Fixed pull request review comments.
d-stahl-ericsson 003391a
Clarified the meaning of test suite.
d-stahl-ericsson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,37 @@ | ||
| # EiffelTestSuiteStartedEvent | ||
| The EiffelTestSuiteStartedEvent declares that a suite of tests has started. This can either be declared stand-alone or as part of an activity or other test suite, using either a __CAUSE__ or a __CONTEXT__ link type, respectively. | ||
|
|
||
| ## Data Members | ||
| ### data.name | ||
| __Type:__ String | ||
| __Required:__ Yes | ||
| __Description:__ The name of the test suite. Uniqueness is not required or checked, but is useful. | ||
|
|
||
| ### data.categories | ||
| __Type:__ String[] | ||
| __Required:__ No | ||
| __Description:__ The category or categories of the test suite. This can be used to group multiple similar test suites for analysis and visualization purposes. Example usage is to categorize test suites required before release as "Pre-release tests". | ||
|
|
||
| ### data.types | ||
| __Type:__ String[] | ||
| __Required:__ No | ||
| __Legal values:__ ACCESSIBILITY, BACKUP_RECOVERY, COMPATIBILITY, CONVERSION, DISASTER_RECOVERY, FUNCTIONAL, INSTALLABILITY, INTEROPERABILITY, LOCALIZATION, MAINTAINABILITY, PERFORMANCE, PORTABILITY, PROCEDURE, RELIABILITY, SECURITY, STABILITY, USABILITY | ||
| __Description:__ The type or types of testing performed by the test suite, as [defined by ISO 29119](http://www.softwaretestingstandard.org). | ||
|
|
||
| ### data.liveLogs | ||
| __Type:__ Object[] | ||
| __Required:__ No | ||
| __Description:__ An array of live log files available during execution. These shall not be presumed to be stored persistently; in other words, once the test suite has finished there is no guarantee that these links are valid. Persistently stored logs shall be (re-)declared by [EiffelTestSuiteFinishedEvent](./EiffelTestSuiteFinishedEvent.md). | ||
|
|
||
| #### data.liveLogs.name | ||
| __Type:__ String | ||
| __Required:__ Yes | ||
| __Description:__ The name of the log file. | ||
|
|
||
| #### data.liveLogs.uri | ||
| __Type:__ String | ||
| __Required:__ Yes | ||
| __Description:__ The URI at which the log can be retrieved. | ||
|
|
||
| ## Examples | ||
| * [Simple example](../examples/events/EiffelTestSuiteStartedEvent/simple.json) |
This file contains hidden or 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,31 @@ | ||
| { | ||
| "meta": { | ||
| "type": "EiffelTestSuiteStartedEvent", | ||
| "version": "1.0", | ||
| "time": 1234567890, | ||
| "domainId": "example.domain", | ||
| "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeee0" | ||
| }, | ||
| "data": { | ||
| "name": "Pre-release installation and security verification", | ||
| "categories": [ | ||
| "Pre-release tests" | ||
| ], | ||
| "types": [ | ||
| "INSTALLABILITY", | ||
| "SECURITY" | ||
| ], | ||
| "liveLogs": [ | ||
| { | ||
| "name": "My test log", | ||
| "uri": "file:///tmp/logs/data.log" | ||
| } | ||
| ] | ||
| }, | ||
| "links": [ | ||
| { | ||
| "type": "CONTEXT", | ||
| "target": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeee1" | ||
| } | ||
| ] | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
domainId should be inside source.