Test scripts and fixtures generated for the Rails applications are automatically added to the test roots.
The files under the test roots are interpreted according to their type. RubyMine can parse, inspect and compile the contents of these roots.
Excluded roots are not visible to RubyMine. Usually, one would like to exclude temporary build folders, generated output, logs, and other project output. Excluding the unnecessary paths is a good way to significantly improve performance.