Skip to content

Commit

Permalink
pytest: use sane defaults in the config example
Browse files Browse the repository at this point in the history
* Projects don't have test plans upon creation, so using plan=1 results
  in an error or empty plan.
* Reporter should create a new test run by default, not reuse the same
  run=1.
* Creating defects from failed autotests is also undesired by default.
  • Loading branch information
NickVolynkin committed Mar 25, 2024
1 parent d7b4f93 commit 169046b
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions qase-pytest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,17 @@ All configuration options are listed in the following doc: [Configuration](docs/
}
},
"testops": {
"bulk": true,
"project": "YOUR_PROJECT_CODE",
"api": {
"token": "YOUR_API_TOKEN",
"host": "qase.io"
},
"run": {
"id": 1,
"title": "Test run title",
"title": "Automated test run",
"complete": true
},
"plan": {
"id": 1
},
"defect": true,
"project": "YOUR_PROJECT_CODE",
"defect": false,
"bulk": true,
"chunk": 200
},
"framework": {
Expand Down

0 comments on commit 169046b

Please sign in to comment.