-
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.
disable testrail and skip specific tesrun id deletion
- Loading branch information
1 parent
2cf1925
commit f9f2f20
Showing
4 changed files
with
34 additions
and
4 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 |
---|---|---|
|
@@ -7,8 +7,10 @@ | |
- [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] Skip specific test-runs from deletion, when `clean_testrun` is set `true` | ||
- [x] Static status comments on all the scenarios | ||
- [x] Support for RSpec `shared examples` | ||
- [x] Disable `testrail-rspec` execution on-demand | ||
|
||
## Installation | ||
|
||
|
@@ -150,6 +152,30 @@ end | |
``` | ||
Set, `clean_testrun: false` if you don't want to clean the existing test runs; but this keyword is optional. | ||
|
||
6. To skip specific test-runs from deletion, when `clean_testrun` is set `true` | ||
```yaml | ||
testrail: | ||
url: https://your_url.testrail.io/ | ||
user: [email protected] | ||
password: ****** | ||
clean_testrun: true | ||
skip_testrun_ids: 473, 475 | ||
project_id: 10 | ||
suite_id: 110 | ||
``` | ||
Here, `skip_testrun_ids: value` is optional. | ||
|
||
7. To disable `testrail-rspec` execution | ||
```yaml | ||
testrail: | ||
url: https://your_url.testrail.io/ | ||
user: [email protected] | ||
password: ****** | ||
run_id: 111 | ||
allow: no | ||
``` | ||
Here, `skip_testrun_ids: value` 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.7'.freeze | ||
VERSION = '0.1.8'.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