Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: publish step summary #39

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

ci: publish step summary #39

wants to merge 2 commits into from

Conversation

nielskorporaal
Copy link
Contributor

@nielskorporaal nielskorporaal commented Jan 21, 2025

Publiceert de cucumber testresultaten per categorie. Zie voorbeeld: https://github.com/BRP-API/bewoning-informatie-service/actions/runs/12886362064

@@ -9,16 +9,23 @@ PARAMS="{ \
}"

npx cucumber-js -f json:./test-reports/cucumber-js/step-definitions/test-result-zonder-dependency-integratie.json \
-f summary:./test-reports/cucumber-js/step-definitions/test-result-zonder-dependency-integratie-summary.txt \
-f summary:./test-reports/cucumber-js/bewoning/test-result-zonder-dependency-integratie-summary.txt \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dit zijn rapportages van step-definitions validatie. Die zou ik niet onder bewoning scharen

const outputFile = path.join(__dirname, './../test-reports/cucumber-js/bewoning/step-summary.txt');
fs.writeFileSync(outputFile, '', 'utf8');

function processFile(inputPath, outputPath, caption) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ik denk dat deze functie naar een aparte js file moet worden verplaatst. Dit functie is hetzelfde voor alle repos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants