Skip to content

Exit codes for cli #24695

@ckocyigit

Description

@ckocyigit

https://docs.cypress.io/guides/guides/command-line#Exit-code documents that cypress basically has three exit behaviours.

Cypress succeeds means exit code 0

Cypress fails (complete run failure) exit code 1

Cypress: Specs are failing means exit code is amount of specs failed

But what if just one spec failed.

You could not differentiate if the whole run just failed or just one spec based on the exit codes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E2EIssue related to end-to-end testingTriagedIssue has been routed to backlog. This is not a commitment to have it prioritized by the team.type: featureNew feature that does not currently exist

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions