Automated runs are not automatically completed
Closed this issue · 3 comments
I'm using the cli to run my script like this:
pytest --qase-mode=testops --qase-testops-api-token=<API_TOKEN> --qase-testops-project=<PROJECT_CODE> script.py
The test run is successfully run and tests pass on the qase.io but my qase test run is not complete.
It should be marked as completed by default according to the documentation.
Adding --qase-testops-run-complete=true
did not make a difference.
@Anthony-Bou-Khalil hello and thank you for reporting. We know about this issue and will resolve it in the next package update. For now, you can control this behavior in configuration file or with an environment variable
"testops": {
"run": {
"complete": true
},
export QASE_TESTOPS_RUN_COMPLETE=1
@Anthony-Bou-Khalil we resolved it in qase-pytest==5.0.5
, but it works only with lowercase or numeric values:
pytest --qase-testops-run-complete=true
pytest --qase-testops-run-complete=1
There's a bug in the configuration parser, which parses =True
as falsy value. We will fix in a later release, see issue #176.
@NickVolynkin Thank you. Upgrading to qase-pytest==5.0.5
has fixed my issue using CLI.