« Return to Thread: file name question for test and rspec menu options

Re: file name question for test and rspec menu options

by Erno Mononen :: Rate this Message:

Reply to Author | View in Thread

Hi Chris,

Yes, the IDE will run all the given examples. The exact patterns for
matching files are:

test*.rb, *test.rb and *spec.rb

Erno

Chris Kutler wrote:

> Hi,
>
> I have a question about this wording.
>
> "If your Rake files do not have the corresponding test or spec Rake
> tasks, the IDE runs all the test files that it finds under the test or
> spec test folders, whichever one applies. If you chose Test, it looks
> for file names that begin or end with test. If you chose RSpec Test,
> it looks for file names that end with spec."
>
> Will it run these tests?
>
> testcomment.rb
> test_comment.rb
> commenttest.rb
> comment_test.rb
>
> or with spec
>
> commentspec.rb
> comment_spec.rb
>
> Thanks
>
> Chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

 « Return to Thread: file name question for test and rspec menu options