GitHub user benkeen opened a pull request:

    https://github.com/apache/couchdb-fauxton/pull/542

    Add a test to confirm test exists

    A pet peeve with running a single mocha test on the command line,
    like `grunt file --file=./a/b/c.js` is that (a) it spends several
    seconds compiling, copying etc. then (b) just ends. It doesn't
    notify you that the file doesn't exist, you just have to infer it
    or spend a few minutes being confused.
    
    This little PR adds a test that runs up front: if the file you
    entered doesn't exist, it lets you know about it and stops the
    process immediately.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/benkeen/couchdb-fauxton 
mocha-test-file-existence-check

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-fauxton/pull/542.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #542
    
----
commit 75a72878567e6662f3bb073f9e77288329a6909d
Author: Ben Keen <[email protected]>
Date:   2015-09-30T21:54:04Z

    Add a test to confirm test exists
    
    A pet peeve with running a single mocha test on the command line,
    like `grunt file --file=./a/b/c.js` is that (a) it spends several
    seconds compiling, copying etc. then (b) just ends. It doesn't
    notify you that the file doesn't exist.
    
    This little PR adds a test that runs up front: if the file you
    entered doesn't exist, it lets you know about it and stops the
    process immediately.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to