Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consider supporting a test/mocha.opts file #31

Closed
tj opened this issue Nov 9, 2011 · 2 comments
Closed

consider supporting a test/mocha.opts file #31

tj opened this issue Nov 9, 2011 · 2 comments

Comments

@tj
Copy link
Contributor

tj commented Nov 9, 2011

like spec.opts

@rauchg
Copy link
Contributor

rauchg commented Nov 9, 2011

Usecase ?

@tj
Copy link
Contributor Author

tj commented Nov 9, 2011

for example instead of having this target for superagent:

test:
    @NODE_ENV=test ./node_modules/.bin/mocha \
        --require should \
        --reporter $(REPORTER) \
        --growl \
        $(TESTS)

it might be a mocha.opts of:

--require should
--reporter dot
--growl
test/unit/*.js

so all you would have to do is $ mocha, and then if you want to append some options
to run tests matching some regexp you could do $ mocha -m http without having to
specify everything else or tweak the makefile

@tj tj closed this as completed in aec68b7 Nov 15, 2011
boneskull pushed a commit that referenced this issue Dec 6, 2017
First column's last li's border-bottom was breaking into the following
column.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants