-
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.
Merge pull request #14 from prashanth-sams/delete_run
delete previous test runs, warning message on invalid config
- Loading branch information
Showing
4 changed files
with
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
- [x] Update test results in the existing test run | ||
- [x] Create dynamic test run and update test results in it | ||
- [x] Update multi-testrail cases from a single automation scenario | ||
- [x] Delete/clean all the existing test runs in a project's suite before test run | ||
- [x] Static status comments on all the scenarios | ||
- [x] Support for RSpec `shared examples` | ||
|
||
|
@@ -137,6 +138,18 @@ end | |
``` | ||
Here, `project_id` and `suite_id` are the dynamically generated id from your testrail account; `run_id` is optional in this case. | ||
|
||
5. To delete all test-runs before execution, | ||
```yaml | ||
testrail: | ||
url: https://your_url.testrail.io/ | ||
user: [email protected] | ||
password: ****** | ||
clean_testrun: true | ||
project_id: 10 | ||
suite_id: 110 | ||
``` | ||
Set, `clean_testrun: false` if you don't want to clean the existing test runs; but this keyword is optional. | ||
|
||
#### Hooks | ||
|
||
Update the results through `Hooks` on end of each test | ||
|
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module TestrailRspec | ||
VERSION = '0.1.5'.freeze | ||
VERSION = '0.1.6'.freeze | ||
end |
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