A CLI-based test system for NodeSchool workshopper-adventures, supporting workshopper-adventure, workshopper, and substack adventure tutorials. It runs exercises by feeding CLI arguments and validating output against expected pass/fail criteria. Current stable version is 1.2.0 with infrequent releases (last was 2017). Key differentiator: tests tutorials at the CLI level, not programmatically, making it agnostic to the tutorial's internal implementation. Requires a specific test directory structure under the tutorial's root. Not actively maintained.
npm install workshopper-adventure-testVerified import paths — ran on the pinned version, not inferred.
Add npm test script to run workshopper-adventure-test, then create test folder with exercise subfolders containing valid_*.js and invalid_*.js files.
Rename test files to match required pattern.
Run `<tutorial> list` and match folder names exactly (case-sensitive), removing non-alphanumeric characters.
Use in Node.js 10 or earlier; consider forking or using alternative test approach.
Run `npm install --save-dev workshopper-adventure-test`
Create a `test` directory with exercise subfolders containing valid_*.js/invalid_*.js files