caolan / caolan/nodeunit

easier way to specify alternate reporter

Open
#152 0 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

Would it be possible to change the --reporter command-line option so only a name can be specified to use built-in reporters rather than the full path to them?

For example, I'd like to use
--reporter=tap
instead of
--reporter=/usr/local/lib/node_modules/nodeunit/lib/reporters/tap.js

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the command-line handling for the --reporter option and the built-in reporter files, including tap.js. Check how the current full-path value is resolved and any existing CLI tests. Done means --reporter=tap selects the built-in TAP reporter while existing full-path usage continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli, testing-qa
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.