Coder Social home page Coder Social logo

cnunit's Introduction

CNUnit

Command line tool for tests execution in multiple NUnit console instances.

Build status Test status NuGet cnunit

Use cases:

  • You need to execute not thread safe tests in parallel.
  • You need to generate multiple test lists and shuffle tests.
  • You don't know how to get JUnit XML files from NUnit console ๐Ÿ˜‹

Example:

> CNUnit.exe --dll=".\build\TestAssembly.dll" --parse="Chrome" 
-w=10 --outdir="build\cnunit-reports" 
--format=junit --shuffle

Tests in TestAssembly.dll containing "Chrome" will be shuffled and run with 10 NUnit3-consoles with JUnit XML reports.

Parameters:

Command Description
--executable, -e NUnit3-console.exe path. If not specified - app will try to found it by itself using %PATH%
--dll, -t Tests assembly path
--workers, -w NUnit instances count;
--shuffle, -s Shuffle tests in test lists
--quite, -q Don't show tests output in CNUnit console
--format, -f XML output format. Options: nunit3, nunit2, junit. nunit3 by default
--where Parse EXPRESSION indicating what tests will be run. See NUnit Test Selection Language
--parse Simpler expression indicating what tests will be run. Test full tests name should contains VALUES. Separated by ;
--oudtdir Output directory for XML and testlists. %CD%\cnunit-reports by default
--tlGenerate Do not run test. Generate testlists only
--tlKeep Do not remove testlists after test are run
--wait Do not close NUnit consoles after test finished
--debug Debug CNunit

cnunit's People

Contributors

unickq avatar

Watchers

 avatar

cnunit's Issues

nunit commandline params

Is there any way to pass "--params" and other parameters from CNunit via command line to NUnit console runner?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.