Running single spec description


#1

Working on a pull request I found that running all specs for a package was overkill and I was actually only concerned with 1 particular description (editor-spec.coffee in atom) for the change I was making and debugging.

The atom docs don’t list a way to do this only run for a package (and atom), or run all core. Is there a way to do what I am trying to do?

Side note: The specs crashed out about 40% through, is this expected?


#2

You can use fdescribe in place of describe to “focus” on a particular description and fit in place of it to focus on a single test.


#3

That works, odd that you have to change the spec it’s self to do this but if that’s how it’s supposed to work!