@flakeytesting/core
v0.9.0
Published
Shared utilities for Flakey test reporting packages
Downloads
120
Maintainers
Readme
@flakeytesting/core
Internal shared utilities used by the Flakey reporter packages:
@flakeytesting/cypress-reporter@flakeytesting/playwright-reporter@flakeytesting/webdriverio-reporter@flakeytesting/cli
You don't install this package directly. The reporters pull it in automatically as a workspace dependency. It's published only so the reporters can resolve a hosted version when consumers install them outside the monorepo.
What's inside
ApiClient— wrapsfetchfor the two upload paths (POST /runsJSON-only,POST /runs/uploadmultipart with screenshots/videos/snapshots) plus the per-metric endpoints (coverage, a11y, visual, ui-coverage)NormalizedRun,NormalizedSpec,NormalizedTest— the schema every reporter normalises into, so the backend sees the same payload shape regardless of test runnerReporterOptions— the shared options type all framework reporters extend
Anything framework-specific (Cypress's Mocha events, Playwright's Reporter interface, WebdriverIO's @wdio/reporter base class) lives in the framework-specific package, not here.
Versioning
Breaking changes here cascade to every reporter. The reporters and core are bumped together at each release tag — there's no scenario where you'd install a core minor by itself.
Compatibility
- Node 20+
- Runtime-agnostic — no
cypress/@playwright/test/webdriverioimports here
Links
- Documentation site
- Source + issues
- License: MIT
