How do I mark a directory as a 'Test source'

I am trying to use the run test method functionality by right clicking on a unit test method and and selecting the option to run my test method.
Picture 10.png
I get the below error screen saying that my directroy is not marked as a test source.
Picture 9.png

How do I mark my test directory as a test source?
I am using Rubymine 1.1.1 on OSX

3 comments
Comment actions Permalink

Hello Scott,

I am trying to use the run test method functionality by right clicking on a unit test method and and selecting the option to run my test method.
Picture 10.png
I get the below error screen saying that my directroy is not marked as a test source.
Picture 9.png


How do I mark my test directory as a test source?
I am using Rubymine 1.1.1 on OSX


Please use File | Settings | Project Structure.
There you can configure test roots and/or exclude some folders from your project (logs etc)
ps1.png
Select folder in right pane and mark it as Excluded or Test Sources using buttons on the top of it.

Regards,
Oleg

0
Comment actions Permalink

This works perfectly.  Thank you for the quick response.

I did go to the project structure configuration page, but I did not notice that the window to the right of the Content Root was an expandable tree.  This is a great feature, thanks again.

0
Comment actions Permalink

Develop with pleasure

0

Please sign in to leave a comment.