You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to migrate ginkgo from v1 to v2, there were a custom report defined to dump the specSummary with dryRun mode, this is workable in the v1, and it was implemented in SpecDidComplete.
The migration guide here: https://onsi.github.io/ginkgo/MIGRATING_TO_V2#migration-strategy-2 suggests to add a ReportAfterSuite node and process the types.Report in v2 to replace custom report. I tried and found that if it's dry-run mode in v2 neither ReportAfterSuite("", func(report Report) nor ReportAfterEach(func(report SpecReport) would got called, so what's the best practice in v2 for me to dump the test spec with dry-run mode?
thanks a lot for any input!
The text was updated successfully, but these errors were encountered:
I am trying to migrate ginkgo from v1 to v2, there were a custom report defined to dump the
specSummary
withdryRun
mode, this is workable in the v1, and it was implemented inSpecDidComplete
.The migration guide here: https://onsi.github.io/ginkgo/MIGRATING_TO_V2#migration-strategy-2 suggests to add a
ReportAfterSuite
node and process thetypes.Report
in v2 to replace custom report. I tried and found that if it'sdry-run
mode in v2 neitherReportAfterSuite("", func(report Report)
norReportAfterEach(func(report SpecReport)
would got called, so what's the best practice in v2 for me to dump the test spec withdry-run
mode?thanks a lot for any input!
The text was updated successfully, but these errors were encountered: