@democratize-quality/qualitylens-core 0.2.5 → 0.2.7

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.
@@ -2650,12 +2650,28 @@ ${testsSection}
2650
2650
  areas:
2651
2651
  ${areasYaml}
2652
2652
 
2653
- # Optional: Azure DevOps Test Plans integration
2653
+ ${opts.ado ? `ado:
2654
+ orgUrl: ${opts.ado.orgUrl}
2655
+ project: ${opts.ado.project}
2656
+ planId: ${opts.ado.planId}
2657
+ patEnvVar: ${opts.ado.patEnvVar}` : `# Optional: Azure DevOps Test Plans integration
2654
2658
  # ado:
2655
2659
  # orgUrl: https://dev.azure.com/your-org
2656
2660
  # project: YourProject
2657
2661
  # planId: 42
2658
- # patEnvVar: ADO_PAT
2662
+ # patEnvVar: ADO_PAT`}
2663
+
2664
+ ${opts.csvConfig && opts.csvConfig.length > 0 ? `csv:
2665
+ ` + opts.csvConfig.map(
2666
+ (c) => ` - path: ${c.path}
2667
+ titleField: "${c.titleField}"` + (c.dateField ? `
2668
+ dateField: "${c.dateField}"` : "") + (c.stepsField ? `
2669
+ stepsField: "${c.stepsField}"` : "")
2670
+ ).join("\n") : `# Optional: CSV manual test files (qualitylens-pro)
2671
+ # csv:
2672
+ # - path: ./test-cases/regression.csv # path to a specific CSV file
2673
+ # titleField: "Test Name" # column that holds the test title
2674
+ # dateField: "Last Run" # optional: column with last-run date`}
2659
2675
 
2660
2676
  # Optional: manual coverage entries
2661
2677
  # manualCoverage: