Détail du package

vitest-ctrf-json-reporter

avinyaweb22.8kMIT0.0.3

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 Developed BY : JavaScript Developer