Running a specific spec (e.g. test)

This is mostly a note to myself – babysteps, I was in the spec directory and tried running:

  • rspec my_test.rb

Bad idea, it ignored the my_test.rb and tried running through all the specs (test) in that directory, need to be on directory up (at least) and then run:

  • rspec spec/my_test.rb

So that only the one test suite is run.

 

Advertisements

About thewere42

Software tester by day - parent by night - with too many interest and too little time - spanning cooking, going green, photography, technology, transportation, and the world in general

Posted on April 28, 2015, in Appium, RSPEC and tagged , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: