Drilling down specs and back again

Hi,

When I run Rspec tests, is there a way to differentiate running all the specs for the whole file and running individual specs? Let me explain: if I do Ctrl+Shift+F10, depending of where I am in the code, the specs will be run either for the whole file (if I am say at the first line) or just for the example block I am in (creating the run configuration if one does not yet exists). Is there a way to say, run all the specs or run just this one spec other than doing a PageUp first?

Thanks!

2 comments
Comment actions Permalink

Hi,

You can also launch tests for whole file from editor tab context menu
Screen shot 2009-11-16 at 20.28.03.png
Also you can save such run configuration for all tests from file and lunch it using Run | Run... popup

0
Comment actions Permalink

Thanks Roman,

I was looking for a keyboard shortcut, but after all KeyUp+Ctrl+Maj+F10 IS a keyboard shortcut! lol!

Jamal

0

Please sign in to leave a comment.