File tree Expand file tree Collapse file tree 3 files changed +60
-0
lines changed
Expand file tree Collapse file tree 3 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ # Define the applications that should be tracked. In the case of multiple apps, they can be added in a comma-separated list.
2+ UI_COVERAGE_APPS = ' [
3+ {
4+ "key": "my-ui-app",
5+ "url": "https://my-ui-app.com/login",
6+ "name": "My UI App",
7+ "tags": ["UI", "PRODUCTION"],
8+ "repository": "https://github.com/my-ui-app"
9+ }
10+ ]'
11+
12+ # The directory where the coverage results will be saved.
13+ UI_COVERAGE_RESULTS_DIR = " ./coverage-results"
14+
15+ # The file that stores the history of coverage results.
16+ UI_COVERAGE_HISTORY_FILE = " ./coverage-history.json"
17+
18+ # The retention limit for the coverage history. It controls how many historical results to keep.
19+ UI_COVERAGE_HISTORY_RETENTION_LIMIT = 30
20+
21+ # Optional file paths for the HTML and JSON reports.
22+ UI_COVERAGE_HTML_REPORT_FILE = " ./index.html"
23+ UI_COVERAGE_JSON_REPORT_FILE = " ./coverage-report.json"
Original file line number Diff line number Diff line change 1+ {
2+ "services" : [
3+ {
4+ "key" : " my-ui-app" ,
5+ "url" : " https://my-ui-app.com/login" ,
6+ "name" : " My UI App" ,
7+ "tags" : [
8+ " UI" ,
9+ " PRODUCTION"
10+ ],
11+ "repository" : " https://github.com/my-ui-app"
12+ }
13+ ],
14+ "results_dir" : " ./coverage-results" ,
15+ "history_file" : " ./coverage-history.json" ,
16+ "history_retention_limit" : 30 ,
17+ "html_report_file" : " ./index.html" ,
18+ "json_report_file" : " ./coverage-report.json"
19+ }
Original file line number Diff line number Diff line change 1+ # List of application configurations.
2+ apps :
3+ - key : " my-ui-app" # Unique identifier for the app.
4+ url : " https://my-ui-app.com/login" # Entry point URL of the app.
5+ name : " My UI App" # Name of the app.
6+ tags : [ "UI", "PRODUCTION" ] # Optional list of tags to describe the application.
7+ repository : " https://github.com/my-ui-app" # Optional URL to the repository of the application.
8+
9+ # Directory where coverage results will be stored.
10+ results_dir : " ./coverage-results" # This path is relative to the current working directory.
11+
12+ # File where the history of coverage results is saved.
13+ history_file : " ./coverage-history.json" # This path is relative to the current working directory.
14+ history_retention_limit : 30 # The maximum number of history records to keep.
15+
16+ # File paths for reports. These are optional, and if not set, reports will not be generated.
17+ html_report_file : " ./index.html" # Path to the HTML report file.
18+ json_report_file : " ./coverage-report.json" # Path to the JSON report file.
You can’t perform that action at this time.
0 commit comments