ginkgo icon indicating copy to clipboard operation
ginkgo copied to clipboard

Skip each test function logs and print in summary

Open tahir-ali-uipath opened this issue 10 months ago • 1 comments

We are trying to skip each test function logs and only print them at summary level. I tried this but it doesn't work for me

suiteConfig, reporterConfig := GinkgoConfiguration()
reporterConfig.Verbose = false
reporterConfig.FullTrace = false
reporterConfig.VeryVerbose = false
reporterConfig.ShowNodeEvents = false
reporterConfig.Succinct = true

suiteConfig.EmitSpecProgress = false

RunSpecs(t, "Skynet E2E Test Suite", suiteConfig, reporterConfig)

Any ideas?

tahir-ali-uipath avatar Apr 03 '24 21:04 tahir-ali-uipath

hey @tahir-ali-uipath what do you mean by summary level? Also are you running in parallel? If so you need to configure ginkgo via the ginkgo cli as the aggregated reporting is done by the cli, not the individual processes. That may be why you aren't seeing the configuration changes.

onsi avatar Apr 15 '24 20:04 onsi