@democratize-quality/qualitylens-core 0.2.4 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,6 +17,17 @@ interface StarterOptions {
17
17
  name: string;
18
18
  patterns: string[];
19
19
  }>;
20
+ ado?: {
21
+ orgUrl: string;
22
+ project: string;
23
+ planId: number;
24
+ patEnvVar: string;
25
+ };
26
+ csvConfig?: {
27
+ path: string;
28
+ titleField: string;
29
+ dateField?: string;
30
+ };
20
31
  }
21
32
  declare class Config {
22
33
  static load(filePath: string): TestGapConfig;
@@ -17,6 +17,17 @@ interface StarterOptions {
17
17
  name: string;
18
18
  patterns: string[];
19
19
  }>;
20
+ ado?: {
21
+ orgUrl: string;
22
+ project: string;
23
+ planId: number;
24
+ patEnvVar: string;
25
+ };
26
+ csvConfig?: {
27
+ path: string;
28
+ titleField: string;
29
+ dateField?: string;
30
+ };
20
31
  }
21
32
  declare class Config {
22
33
  static load(filePath: string): TestGapConfig;
@@ -2684,12 +2684,25 @@ ${testsSection}
2684
2684
  areas:
2685
2685
  ${areasYaml}
2686
2686
 
2687
- # Optional: Azure DevOps Test Plans integration
2687
+ ${opts.ado ? `ado:
2688
+ orgUrl: ${opts.ado.orgUrl}
2689
+ project: ${opts.ado.project}
2690
+ planId: ${opts.ado.planId}
2691
+ patEnvVar: ${opts.ado.patEnvVar}` : `# Optional: Azure DevOps Test Plans integration
2688
2692
  # ado:
2689
2693
  # orgUrl: https://dev.azure.com/your-org
2690
2694
  # project: YourProject
2691
2695
  # planId: 42
2692
- # patEnvVar: ADO_PAT
2696
+ # patEnvVar: ADO_PAT`}
2697
+
2698
+ ${opts.csvConfig ? `csv:
2699
+ path: ${opts.csvConfig.path}
2700
+ titleField: "${opts.csvConfig.titleField}"${opts.csvConfig.dateField ? `
2701
+ dateField: "${opts.csvConfig.dateField}"` : ""}` : `# Optional: CSV manual test files (qualitylens-pro)
2702
+ # csv:
2703
+ # path: ./test-cases # folder containing *.csv exports
2704
+ # titleField: "Test Name" # column that holds the test title
2705
+ # dateField: "Last Run" # optional: column with last-run date`}
2693
2706
 
2694
2707
  # Optional: manual coverage entries
2695
2708
  # manualCoverage: