Fail within ginko testing not os.Exit(1) #316
Labels
area/testing
Issues or PRs related to testing, Quality Assurance or Quality Engineering
priority/High
Important issue; should be worked on before any other issues (except priority/Critical issue(s)).
We should be failing using: https://onsi.github.io/ginkgo/#marking-specs-as-failed within our end-to-end tests rather than using: https://github.com/redhat-developer/ocdev/blob/master/tests/e2e/e2e_test.go#L41
I suggest that we modify https://github.com/redhat-developer/ocdev/blob/master/tests/e2e/e2e_test.go#L28 to return
err
and if it errors, useFail("Failure reason")
with the stderr output from theocdev
command.The text was updated successfully, but these errors were encountered: