Unroll Parameterized Test Helper

JSON →
library 1.6.0 ·javascript
verified May 27, 2026

Unroll is a JavaScript helper library designed to simplify parameterized testing across both browser and Node.js environments. Currently at version 1.6.0, it allows developers to run a single test function against multiple sets of data, drawing inspiration from the 'Unroll annotation' found in the Spock framework for Java. It offers a structured way to define test data, either through an array of arrays or using a multiline template literal, enhancing test clarity and reducing redundancy. Unroll functions by decorating the primary test function (e.g., `it` in Mocha/Jasmine, `test` in AVA/Tape) of various testing frameworks, making it highly adaptable. The library's release cadence is intermittent, driven by bug fixes and minor feature enhancements, with its latest stable release focusing on improving argument handling and overall robustness. Its core value proposition lies in providing a framework-agnostic solution for data-driven tests, enabling detailed output for each test iteration.

total hits 15
actors 5 distinct systems
last hit 1d ago human
GPTBot
5
MetaBot
4
Script
1
Search engines
1
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany