All Projects → aghassemi → tap-xunit

aghassemi / tap-xunit

Licence: MIT License
TAP to xUnit XML converter

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to tap-xunit

Bats Core
Bash Automated Testing System
Stars: ✭ 2,820 (+6950%)
Mutual labels:  tap, xunit, junit
test-class
Test::Class - an xUnit testing framework for Perl 5.x
Stars: ✭ 18 (-55%)
Mutual labels:  xunit, junit
xunit-to-junit
This Extensible Stylesheet Language Transformations can transform a xUnit.net v2 XML test results file into a JUnit test results file.
Stars: ✭ 21 (-47.5%)
Mutual labels:  xunit, junit
node-bogota
🚀 Run tape tests concurrently with tap-spec output
Stars: ✭ 15 (-62.5%)
Mutual labels:  tap, tape
zx tape player
Just another tape player has been written in Flutter for iOS and Android. The application is able to find tapes and theirs images using https://zxInfo.dk public API and upload them to ZX-Spectrum compatible computers by the audio output of the smartphone. Now it supports TAP and TZX tape images only.
Stars: ✭ 26 (-35%)
Mutual labels:  tap, tape
unitest
🌎 Seamless node and browser unit testing with code coverage
Stars: ✭ 28 (-30%)
Mutual labels:  tap, tape
tropic
🍍 Test Runner Library
Stars: ✭ 29 (-27.5%)
Mutual labels:  tap, tape
page-content-tester
Paco is a Java based framework for non-blocking and highly parallelized Dom testing.
Stars: ✭ 13 (-67.5%)
Mutual labels:  junit
JHTapTextView
Tap TextView,Text Tap,文本点击
Stars: ✭ 23 (-42.5%)
Mutual labels:  tap
pact-workshop-dotnet-core-v1
A workshop for Pact using .NET Core
Stars: ✭ 66 (+65%)
Mutual labels:  xunit
metadatamanagement
Metadatamanagement (MDM) - Data Search for Higher Education Research and Science Studies
Stars: ✭ 21 (-47.5%)
Mutual labels:  junit
MysteryCrate
PLUGIN ARCHIVED. USE https://github.com/DaPigGuy/PiggyCrates instead!
Stars: ✭ 30 (-25%)
Mutual labels:  tap
react-native-double-click
A Component Wrapper for Double Click/Tap
Stars: ✭ 42 (+5%)
Mutual labels:  tap
mutant-swarm
Mutation testing framework and code coverage for Hive SQL
Stars: ✭ 20 (-50%)
Mutual labels:  junit
jdbdt
JDBDT: Java Database Delta Testing
Stars: ✭ 12 (-70%)
Mutual labels:  junit
EasyUtAndroid
Android unit testing example 全面的android应用单元测试方法及案例
Stars: ✭ 21 (-47.5%)
Mutual labels:  junit
parameterized-suite
Provides a new Runner for JUnit 4 that combines the features of Suite and Parameterized
Stars: ✭ 19 (-52.5%)
Mutual labels:  junit
Rocket-Notes
The World's Fastest Note Taking App. Fast. Simple. Create a note in one tap! Create image and text notes directly from your home screen!
Stars: ✭ 20 (-50%)
Mutual labels:  tap
Raccoon
Raccoon is a lightweight response mocking framework that can be easily integrated into the Android UI tests.
Stars: ✭ 47 (+17.5%)
Mutual labels:  junit
trx2junit
Transforms XML from trx-Testresults to JUnit-Testresults / trx to JUnit XML and the other way round
Stars: ✭ 42 (+5%)
Mutual labels:  junit

Build Status Issue Stats Issue Stats tap-xunit

Converts TAP to xUnit XML format.

TAP output from testing frameworks such as tape or node-tap can be piped directly to tap-xunit

node test.js | tap-xunit

console window showing tap-xunit example

Installation

npm install tap-xunit -g

Usage

CLI

node test.js | tap-xunit

less results.tap | tap-xunit --package="MyCompany.MyTool" > results.xml

By default TAP comments are used as test-suite names and considered to mark test boundaries. CLI flag --dontUseCommentsAsTestNames can be used to turn that feature off, in which case comments are ignored and all assertions go inside a single <testsuite name="Default"> with name Default

Library

var converter = require('tap-xunit');

// Optional configuration
var opts = {}

var tapToxUnitConverter = converter(opts);

tapInputStream.pipe(tapToxUnitConverter).pipe(xUnitOutStream);

Options

Options can be passed as CLI arguments by being prefixed with --

dontUseCommentsAsTestNames

default: false

By default TAP comments are used as test-suite names and considered to mark test boundaries. This option can be used to turn that feature off, in which case comments are ignored and all assertions go inside a single <testsuite name="Default"> with name Default

replaceWithUnicodeDot

default: false

Whether the '.' in test-suite names should be replaced with a Unicode homoglyph. This feature exists because many xUnit reporters assume '.' in test-suite name implies package hierarchy, which may not be the case.

package

default: ''

If specified, all test-suites will be prefixed with the given package name. NOTE: replaceWithUnicodeDot option does not apply to package and . can be used to specify package hierarchy.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].