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

0
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

Develop with pleasure

0

请先登录再写评论。