Skip to content

feature request: fail if no test functions are run #277

Description

@nicks

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions