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

:specdoc varies when running all versus single file #73

Closed
forrest opened this issue Aug 10, 2012 · 2 comments
Closed

:specdoc varies when running all versus single file #73

forrest opened this issue Aug 10, 2012 · 2 comments

Comments

@forrest
Copy link

forrest commented Aug 10, 2012

Hey,

First of all thanks for the great work.

I have a feature request. When using guard-rspec, I set it to run with `--format progress`` when running all the specs, and to do a full doc formatting when running individual files. I've found this is a good balance between debugging, and having some clue how much longer the full suite will take.

I would love to have a similar option with guard-jasmine. Either an option to pass specific options in for :run_all, or atleast an extra option into :specdoc to support :always_on_single_files (named something better probably)

Thanks again,

Forrest

@netzpirat
Copy link
Contributor

Hi Forrest

Glad to hear you like guard-jasmine! I've added a new option :run_all, where you can specify any valid runner options that overwrites the normal options when running all specs. You can use it like:

guard :jasmine, { :specdoc => :always, :run_all => { :specdoc => :never } } do
  ...
end

@forrest
Copy link
Author

forrest commented Aug 10, 2012

Thanks!!! That's perfect

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