Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Is it possible to only fail your run if it falls below a percentage threshold? #3027

Unanswered
austinmehmet asked this question in Q&A
Discussion options

What are you trying to achieve?

Wanting to run my end to end tests in my CI and only allow deployment if 70% of my tests pass. We have some unstable downstream services our E2E tests hit. Is it possible to set this threshold or has anyone solved this issue?

You must be logged in to vote

Replies: 3 comments

Comment options

@austinmehmet isn't easy to set it in the your CI/CD configuration level?

something like that has been there for Jenkins
https://issues.jenkins-ci.org/secure/attachment/32714/TestNG%20Plugin.jpg

You must be logged in to vote
0 replies
Comment options

I am using Gitlab CI/CD which I don't think has that same configuration Jenkins uses. Also; how do you generate that results.xml file from codecept?

You must be logged in to vote
0 replies
Comment options

I am using Gitlab CI/CD which I don't think has that same configuration Jenkins uses. Also; how do you generate that results.xml file from codecept?

@austinmehmet you can use this https://codecept.io/reports#xml to generate the xml report.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Converted from issue

This discussion was converted from issue #1988 on September 05, 2021 17:34.

AltStyle によって変換されたページ (->オリジナル) /