caolan / caolan/nodeunit

Single test run with multiple data

Open
#221 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.9k
Forks
359
PR merge metrics
No merged PRs in 30d

Description

Hello, I have found TestNG's ability to run single test case with multiple data to be very useful. In TestNG it's called [DataProvider](http://blog.varunin.com/2010/10/dataprovider-in-testng.html). I have implemented similar functionality with this global function:

``` javascript
global.testMultiple = function (data, testFunction) {
var suite = {};
var length = data.length;
for (var i=0; i

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.