caolan / caolan/nodeunit

feature request: fail if no test functions are run

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

If you run nodeunit on an empty directory, it just prints
OK: 0 assertions
and exits successfully.

It would be nice if this exited with an error status code by default. That way, the build will fail if you move the tests and forget to update the nodeunit invocation.

(The workaround is to use a custom reporter)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.