jasmine / jasmine-gem

Jasmine ruby gem
682 stars 274 forks source link

Feature request: jasmine:ci rake task filename/line number scoping #234

Closed lencioni closed 8 years ago

lencioni commented 9 years ago

I would like to be able to more easily run specific Jasmine specs from the command line without having to run all of the specs. I know that there is now the fit and fdescribe features in 2.1.0 (which are great, by the way), but I still have the need for file-scoping from the command line.

Ideally, this would work just like RSpec where I can give it a file and also a line number, but I would be pleased as punch with even just the filename scoping feature.

I think that this would end up looking something like:

bundle exec rake jasmine:ci['specs/javascript/my_spec.js']

And with line scoping:

bundle exec rake jasmine:ci['specs/javascript/my_spec.js:1337']

What do you think?

slackersoft commented 9 years ago

I agree this would be nice to have. I'm not sure the right way to go about it right now, but I'd be happy to review a pull request.

rrosenblum commented 9 years ago

I would also like to see this feature implemented.

hsuh commented 9 years ago

I would also like to see this feature to be implemented please . :)

carpe171 commented 9 years ago

:+1: