Skip to content

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

Closed

Description

@austinmehmet

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?

Activity

  1. kobenguyent commented on Nov 18, 2019

    @kobenguyent
    Collaborator

    @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

  2. austinmehmet commented on Nov 18, 2019

    @austinmehmet
    Author

    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?

  3. kobenguyent commented on Nov 19, 2019

    @kobenguyent
    Collaborator

    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.

  4. locked and limited conversation to collaborators on Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions