Skip to content

Commit

Permalink
Merge pull request #21 from beyond-danube/skipped-tests-details
Browse files Browse the repository at this point in the history
fixes #20 - include skipped Postman assertion step write individual test status
  • Loading branch information
Ma11hewThomas authored Dec 16, 2024
2 parents 339b600 + 26ae1ad commit b933e3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/generate-report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ class GenerateCtrfReport {
status:
assertion.error != null
? ('failed' as CtrfTestState)
: ('passed' as CtrfTestState),
: assertion.skipped
? ('skipped' as CtrfTestState)
: ('passed' as CtrfTestState),
duration: execution.response.responseTime,
}

Expand Down

0 comments on commit b933e3e

Please sign in to comment.