Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

vitest-ctrf-json-reporter

avinyaweb18.9kMIT0.0.2TypeScript support: included

Vitest reporter that will generate a CTRF json report

vitest, ctrf, github actions, reporter

readme

📝 VITEST-CTRF-JSON-REPORTER

Save Vitest test results as a JSON file

A Vitest test reporter to create test reports that follow the CTRF standard.

It will generate a JSON file report.json in the vitest-ctrf folder (it is configurable). To show the report, you can use the ctrf action.

🚀 Quick Start

💿 Installation

pnpm i -D vitest-ctrf-json-reporter

🔧 Configuration

Add new custom reporter vite.config.ts

import { defineConfig } from 'vitest/config'

export default defineConfig({
  test: {
    reporters: ['vitest-ctrf-json-reporter'],
  },
})

Requirements

author: Ganesh