Skip to content

loiemilio/vitest-teamcity-reporter

 
 

Repository files navigation

📝 vitest-teamcity-reporter

💿 Installation

pnpm install -D vitest-teamcity-reporter
npm install -D vitest-teamcity-reporter

🔧 Configuration

Add new custom reporter vite.config.ts

import {defineConfig} from 'vitest/config';

export default defineConfig({
    test: {
        // path to reporter
        reporters: 'vitest-teamcity-reporter',
    },
    // optionaly config
    coverage: {
        // enable "Reporting Build Statistics"
        reporter: ['teamcity'],
    }
});

Reporting Build Statistics

For enabling "Reporting Build Statistics" for TeamCity you may add a "teamcity" coverage reporter that is the default provided by vitest ( vitest doc, istanbul doc )

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 100.0%