This validator is used to validate the Qase reporter's functionality. It compares the expected results of the reporter with the results of the Qase API.
Run the following command to install the required packages:
pip install -r requirements.txt
This tools has the following mode:
validate
- validates the reporter's results with the Qase APIprepare
- prepares the expected results for the reporter
To validate the reporter's results with the Qase API, run the following command:
python main.py --mode validate --project-code <project_code> --token <token> --testrun-id <testrun_id> --input <input_file>
Where:
project-code
- the code of the project in Qasetoken
- the token to access the Qase APItestrun-id
- the id of the test run in Qaseinput
- the file with the excepted results
To prepare the expected results for the reporter, run the following command:
python main.py --mode prepare --project-code <project_code> --token <token> --testrun-id <testrun_id> --output <output_file>
Where:
project-code
- the code of the project in Qasetoken
- the token to access the Qase APItestrun-id
- the id of the test run in Qaseoutput
- the file to save the expected results