Skip to content

This tool helps test the functionality of Qase reporters.

Notifications You must be signed in to change notification settings

qase-tms/reporters-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qase reporter's validator

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.

Installation

Run the following command to install the required packages:

pip install -r requirements.txt

Usage

This tools has the following mode:

  • validate - validates the reporter's results with the Qase API
  • prepare - prepares the expected results for the reporter

Validate

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 Qase
  • token - the token to access the Qase API
  • testrun-id - the id of the test run in Qase
  • input - the file with the excepted results

Prepare

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 Qase
  • token - the token to access the Qase API
  • testrun-id - the id of the test run in Qase
  • output - the file to save the expected results

About

This tool helps test the functionality of Qase reporters.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages