Skip to content

Personal Projects

Personal apps and an npm package I design, build, and ship end-to-end — beyond the day job.

First npm package · open source

Cypress Neo Reporter

One HTML report for Cypress runs.

A Cypress plugin that writes one self-contained HTML report at the end of a run. Tests that broke for the same reason are grouped, so one fix closes the group. Each failure is marked new, known or fixed against the last 10 runs, read from Azure DevOps or from a history file kept in the CI cache, and every failed test carries its steps, screenshots, a video clip, failed requests and console errors. The same run writes JSON, JUnit XML and a Markdown summary, and the neo-reporter CLI merges parallel runs, gates the pipeline and posts the result to Slack or Teams. Published on npm in November 2026, MIT, with no runtime dependencies.

Cypress 15 · 16 · Node 20+One HTML file, no network requestsHTML · JSON · JUnit XML · MarkdownCLI: merge · gate · notifyMIT · zero runtime dependencies

How it's put together

A Cypress plugin and support file in TypeScript: the plugin collects the run, the support file records each test, and the report lands in one file.

One file, nothing to host

The report is one HTML file with the screenshots and clips of failed and flaky tests inside, capped by maxEmbedMb (150 MB by default). Open it offline, attach it to a ticket, keep it as a build artifact. A Content-Security-Policy blocks network requests, and the plyr video player is vendored, so the package has no runtime dependencies.

Single HTML fileCSP: no networkLight · dark

Failures grouped by cause

Tests that broke with the same error sit in one group, so one fix closes the group. Every failed or flaky test gets an AI triage prompt, and so does the whole run: copy it, paste it into any assistant, no API keys. The prompt fences the captured run data and tells the assistant to treat it as data.

Failure groupsAI triage promptsNo API keys

History from your CI

Each failure is marked new, known or fixed against the last 10 runs. On Azure Pipelines, history comes from past test runs; on GitHub Actions, GitLab CI or any other CI, from a neo-history.jsonl file kept in the CI cache. History also drives the Most unstable panel, which ranks tests by pass/fail flips, and a Slower than usual panel built from past durations.

Azure DevOpsneo-history.jsonlNew · known · fixed

Evidence behind every failure

The support file records steps, failed requests (status 500 and up) and console errors for each test. cy.step, cy.addTestContext and cy.businessGoal add your own steps, data and intent. Failed and flaky tests get their screenshots and a video clip cut from the spec video with the ffmpeg build that ships with Cypress, so there is nothing else to install.

cy.stepVideo clipsFailed requests · console

Built for the pipeline

JUnit XML keeps the CI test tab working, and a Markdown summary lands on the Azure DevOps run page or the GitHub job summary. Build links come from Azure DevOps, GitHub Actions and GitLab CI. neo-reporter merge joins parallel machines into one report, gate fails the pipeline on new failures or a low pass rate, with a quarantine list, and notify posts to Slack or Microsoft Teams.

merge · gate · notifyJUnit · MarkdownAzure DevOps · GitHub · GitLab

Secrets stay out

Masking is on by default: Authorization and cookie headers, bearer tokens, JWTs, passwords in URLs and values of keys such as password, secret, token and api_key become [redacted] in every output, and request URLs lose their query string. includeTestCode: false leaves test code out. Spec and owner names never reach inline JavaScript, and releases go out from GitHub Actions with npm trusted publishing and provenance.

Masked by defaultNo inline namesnpm provenance
Quality & Testing Architecture

How Cypress Neo Reporter is verified

116 node:test tests in 12 files cover rendering and escaping, history matching, merge, the CLI, masking, option validation and evidence attribution, and run on Node 20, 22 and 24 with strict tsc, publint and Are the Types Wrong on the packed tarball. A second CI job packs the package, installs it into a real Cypress project on Cypress 15 and on 16, and runs a passing, a flaky and a failing spec: the run must end with exactly one failure, write the HTML, JSON, JUnit and Markdown files, embed a test clip, record cy.step and go through neo-reporter merge.

node:test · 116 testsNode 20 · 22 · 24Cypress 15 · 16 e2etsc strict · publint · attw

From npm install to a gated pipeline

What happens between adding the package and the pipeline's verdict.

  1. Installnpm install --save-dev cypress-neo-reporter; Cypress 15 or 16, Node 20+
  2. Register the pluginreturn neoReporter(on, config) in setupNodeEvents, import the support file
  3. Run Cypressnpx cypress run records steps, failed requests and console errors per test
  4. Open one reportHTML, JSON, JUnit XML and a Markdown summary in cypress/reports
  5. Gate and notifyneo-reporter gate fails on new failures; notify posts to Slack or Teams

Inside the report

Real reports written by the package: the README captures and the demo report built from its test fixture.

Insights in the light theme: pass rate, failure groups and run history
Failures by spec, each marked new or failing again
One failed test: history, steps, error, failed request and AI prompt
Run history, new failures, flips, AI triage and owners