caolan / caolan/nodeunit

test name should be available to setup and teardown

Open
#126 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

By making the test name part of the context in the setup and teardown method names its possible to have slight variations on these methods. It would also allow to easily hook up recording mechanisms for mocking, etc.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how nodeunit discovers tests and invokes setup and teardown in its JavaScript source. Determine how the test name can be exposed in that context, then verify that setup and teardown can vary by test name and that existing behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.