caolan / caolan/nodeunit

Exceptions in test code are missed

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

Description

Exceptions that occur inside test functions are completely missed. This creates issues like test failing but makes it completely unclear where the failure occured. The exceptions should be catched and a stack trace should be printed for any exception that happens inside a test method.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the code that invokes test functions and reports their results, then reproduce the issue with a test that throws an exception. Done means exceptions from test functions are caught and their stack traces are printed so the failing test location is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.