meteor-velocity / html-reporter

HTML reporter for Meteor velocity testing framework
MIT License
23 stars 20 forks source link

Allow dismissing of "should I add tests for you" #52

Open samhatoum opened 9 years ago

samhatoum commented 9 years ago

I don't want to add tests of a certain type, and the reporter should allow me to say no. Currently it says "do you want to?" with the single option of "yes" :)

pierreozoux commented 9 years ago

:+1:

pierreozoux commented 9 years ago

From the documentation, you can remove them by addinf these env var JASMINE_SERVER_UNIT=0 JASMINE_CLIENT_UNIT=0 JASMINE_CLIENT_INTEGRATION=0

Jpunt commented 9 years ago

Is there a way to define this in code? Running my server with JASMINE_SERVER_UNIT=0 JASMINE_SERVER_INTEGRATION=0 JASMINE_CLIENT_INTEGRATION=0 meteor seems a bit heavy. I've tried to do this with process.env in a server/lib/env.js, but that seems to be too late in the stack.

ghost commented 9 years ago

@Jpunt Currently you can create a run script (Bash, ShellJS or something else) that you use to start your app.

Jpunt commented 9 years ago

Alright, thanks for the info.