{"_id":"@as-pect/ctrf-reporter","name":"@as-pect/ctrf-reporter","dist-tags":{"latest":"9.0.0"},"versions":{"9.0.0":{"name":"@as-pect/ctrf-reporter","version":"9.0.0","description":"CTRF JSON reporter for as-pect","main":"lib/index.js","types":"lib/index.d.ts","type":"module","scripts":{"tsc:all":"tsc","test":"node --experimental-vm-modules ../../node_modules/jest/bin/jest.js"},"repository":{"type":"git","url":"git+https://github.com/jtenner/as-pect.git#master"},"author":{"name":"Joshua Tenner"},"license":"MIT","dependencies":{"@as-pect/core":"^9.0.0","@as-pect/reporter-output":"^9.0.0"},"publishConfig":{"access":"public"},"gitHead":"fdd7f20adcc9f03d0db049bc25890bb8c32a89a6","_id":"@as-pect/ctrf-reporter@9.0.0","bugs":{"url":"https://github.com/jtenner/as-pect/issues"},"homepage":"https://github.com/jtenner/as-pect/tree/master#readme","_nodeVersion":"26.3.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-9QTDCuAlZK34t/ZOKLMPYeHnZNllbecZnUy7VA37SsJ7wnxISyNvR/Rf5YSlVXd1zG39rSMLpF2E7lZaqVfd9w==","shasum":"94561e66e12258e4e773cbc4f8ca543785f509ac","tarball":"https://registry.npmjs.org/@as-pect/ctrf-reporter/-/ctrf-reporter-9.0.0.tgz","fileCount":11,"unpackedSize":28867,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAtZZwbS45Ah9WKFhqW5XKA0W7YbiqLb5iaq4uiFiMc2AiEAjqpKzeoRFGmUDSsWx35Sgtd4XqESkXXbcUYySzqDsVk="}]},"_npmUser":{"name":"jtenner","email":"tenner.joshua@gmail.com"},"directories":{},"maintainers":[{"name":"jtenner","email":"tenner.joshua@gmail.com"},{"name":"sirwillem","email":"willem@wyndham.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ctrf-reporter_9.0.0_1781738216507_0.6673323119187575"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-17T23:16:56.247Z","9.0.0":"2026-06-17T23:16:56.659Z","modified":"2026-06-17T23:16:56.985Z"},"maintainers":[{"name":"jtenner","email":"tenner.joshua@gmail.com"},{"name":"sirwillem","email":"willem@wyndham.tech"}],"description":"CTRF JSON reporter for as-pect","homepage":"https://github.com/jtenner/as-pect/tree/master#readme","repository":{"type":"git","url":"git+https://github.com/jtenner/as-pect.git#master"},"author":{"name":"Joshua Tenner"},"bugs":{"url":"https://github.com/jtenner/as-pect/issues"},"license":"MIT","readme":"# @as-pect/ctrf-reporter\n\nWrites [CTRF](https://ctrf.io/) JSON report files for as-pect Test sessions.\n\nUse this reporter when another tool expects the Common Test Report Format. The legacy `@as-pect/json-reporter` package remains the as-pect-specific JSON v1 output.\n\n```sh\nasp --ctrf\n# or\nasp --reporter @as-pect/ctrf-reporter\n```\n\nFor each test entry, the reporter writes a sibling `.ctrf.json` file under the configured project root. The output root contains `reportFormat: \"CTRF\"`, a `specVersion`, and a `results` object with `tool`, `summary`, and `tests` fields.\n\nStatus mapping:\n\n- Passing test: `passed`\n- Failing test: `failed`\n- Declared todo: `pending`\n- Not-run filtered test: `skipped`\n- Suite-level error: failed CTRF test entry with `extra.asPect.type: \"suiteError\"`\n\nas-pect-only facts such as negation, rtrace deltas, reflected actual/expected values, snapshot changes, and the source Suite report file name are nested under `extra.asPect`.\n","readmeFilename":"README.md","_rev":"1-69d68c8821f4d0e7b1c2e4a94a2f9a2b"}