# Testing signals — cypress-io/cypress

> Canonical page: https://codevetter.com/unpack/cypress/testing-signals

# Testing signals — cypress-io/cypress

Scanned commit 7d987f04740f8f5388ac3116e8ef7957373ead14 (2026-10-02). Generated by codevetter codevetter 1.15.0 on 2026-10-02.

Source inspection; upstream code and tests were not executed.

Tests and CI were inspected, not executed; their existence is not a passing result. The repository combines Vitest, Mocha, Jest, Cypress browser suites, and a system-test harness. Inspected coverage includes option translation, session persistence/probing, subscription behavior, configuration child failures, and browser interception. The inventory and test inspection are bounded, so local TODOs and mocks describe specific limits rather than whole-repository coverage gaps.
- Root Vitest discovers package/tooling/script project configurations and the CLI project, excludes system-tests, and configures V8 coverage plus default/JUnit reporting; server test-unit runs Mocha then Vitest, while data-context uses Jest with experimental VM modules. — [vitest.config.ts#L3-15](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/vitest.config.ts#L3-L15) [packages/server/package.json#L18-23](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/packages/server/package.json#L18-L23) [packages/data-context/package.json#L17-19](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/packages/data-context/package.json#L17-L19)
- CLI run tests assert project-path rejection, conflicting headed/headless flags, testing-type choices, and POSIX argument forwarding; verify/spawn are mocked, so these tests do not establish real binary launch behavior. — [cli/test/lib/exec/run.spec.ts#L32-41](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/cli/test/lib/exec/run.spec.ts#L32-L41) [cli/test/lib/exec/run.spec.ts#L61-99](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/cli/test/lib/exec/run.spec.ts#L61-L99) [cli/test/lib/exec/run.spec.ts#L112-164](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/cli/test/lib/exec/run.spec.ts#L112-L164)
- Server session tests use temporary cache directories and inspect actual JSON files, covering immutable identity, temporary-file cleanup, swallowed write failure, pending-write removal, and project-switch preservation. — [packages/server/test/unit/cypress-sessions_spec.ts#L13-32](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/packages/server/test/unit/cypress-sessions_spec.ts#L13-L32) [packages/server/test/unit/cypress-sessions_spec.ts#L62-109](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/packages/server/test/unit/cypress-sessions_spec.ts#L62-L109) [packages/server/test/unit/cypress-sessions_spec.ts#L221-249](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/packages/server/test/unit/cypress-sessions_spec.ts#L221-L249)
- CLI session tests exercise fake HTTP sessions and closed ports, asserting rejection of recycled-port/session mismatches, malformed JSON, timeout, and stale CDP endpoints while retaining browser identity. — [cli/test/lib/cypress-sessions.spec.ts#L193-227](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/cli/test/lib/cypress-sessions.spec.ts#L193-L227) [cli/test/lib/cypress-sessions.spec.ts#L230-262](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/cli/test/lib/cypress-sessions.spec.ts#L230-L262)
- InterceptedRequest Vitest tests resolve pending handlers through a mocked socket and assert enabled/disabled subscription dispatch counts; they do not exercise a real proxy or CDP transport. — [packages/net-stubbing/test/unit/intercepted-request.spec.ts#L8-64](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/packages/net-stubbing/test/unit/intercepted-request.spec.ts#L8-L64) [packages/net-stubbing/test/unit/intercepted-request.spec.ts#L67-118](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/packages/net-stubbing/test/unit/intercepted-request.spec.ts#L67-L118)
- The driver interception suite asserts route state and backend event frames in browser tests, but declares 15 retries and unique route names for documented flakiness/request leakage. runEachSpec also carries an explicit TODO for a cancelled just-in-time component-run system test. — [packages/driver/cypress/e2e/commands/net_stubbing.cy.ts#L14-29](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/packages/driver/cypress/e2e/commands/net_stubbing.cy.ts#L14-L29) [packages/driver/cypress/e2e/commands/net_stubbing.cy.ts#L45-84](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/packages/driver/cypress/e2e/commands/net_stubbing.cy.ts#L45-L84) [packages/server/lib/modes/run.ts#L889-904](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/packages/server/lib/modes/run.ts#L889-L904)
- A Jest ProjectConfigIpc test loads a real configuration child and injects EPIPE; system config tests cover invalid settings and JS/TS config filenames, and the harness offers withBinary mode. A config-spec TODO requests environment-variable coverage locally. — [packages/data-context/test/unit/data/ProjectConfigIpc-real-child-process.spec.ts#L33-84](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/packages/data-context/test/unit/data/ProjectConfigIpc-real-child-process.spec.ts#L33-L84) [system-tests/test/config_spec.js#L21-79](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/system-tests/test/config_spec.js#L21-L79) [system-tests/lib/system-tests.ts#L81-101](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/system-tests/lib/system-tests.ts#L81-L101)
- Inspected CircleCI definitions gate contributor builds behind approval, select suites through pipeline parameters, add Chrome forceHttp1 smoke coverage, and aggregate browser/system/type/lint checks at ready-to-release; GitHub Actions separately checks semantic PR titles/changelog and generates release SBOMs. — [.circleci/src/pipeline/workflows/pull-request.yml#L39-105](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/.circleci/src/pipeline/workflows/pull-request.yml#L39-L105) [.circleci/src/pipeline/workflows/pull-request.yml#L327-345](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/.circleci/src/pipeline/workflows/pull-request.yml#L327-L345) [.circleci/src/pipeline/workflows/@main.yml#L279-331](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/.circleci/src/pipeline/workflows/%40main.yml#L279-L331) [.github/workflows/semantic-pull-request.yml#L35-49](https://github.com/cypress-io/cypress/blob/7d987f04740f8f5388ac3116e8ef7957373ead14/.github/workflows/semantic-pull-request.yml#L35-L49)

Every claim links to its cited files at the pinned commit. Citations identify source evidence; they do not establish runtime correctness. Independent CodeVetter scan — not reviewed by upstream maintainers.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
