testcafe-reporter-xunit

xUnit TestCafe reporter plugin.

MIT 7 个版本
安装
npm install testcafe-reporter-xunit
yarn add testcafe-reporter-xunit
pnpm add testcafe-reporter-xunit
bun add testcafe-reporter-xunit
README

testcafe-reporter-xunit

Build Status

This is the xUnit reporter plugin for TestCafe.

preview

Install

This reporter is shipped with TestCafe by default. In most cases, you won't need to install it separately.

However, if you need to install this reporter, you can use the following command.

npm install testcafe-reporter-xunit

Usage

When you run tests from the command line, specify the reporter name by using the --reporter option:

testcafe chrome 'path/to/test/file.js' --reporter xunit

When you use API, pass the reporter name to the reporter() method:

testCafe
    .createRunner()
    .src('path/to/test/file.js')
    .browsers('chrome')
    .reporter('xunit') // <-
    .run();

Author

Developer Express Inc. (https://devexpress.com)

版本列表
2.2.3 2023-07-07
2.2.2 2022-12-12
2.2.1 2021-12-21
2.2.0 2021-12-21
2.1.0 2017-01-02
2.0.0 2016-07-27
1.0.0 2015-12-09