The scope of a library defines the set of files and folders in which the library is considered as library, that is, it is write-protected, excluded from check for errors and refactoring, but only affects the completion list and highlighting.
- Create a folder
testat the same level as the
- Populate the
testfolder. For each production file, create a separate test file and name it as follows:.
<name of production file>.<Test>.js
- Mark the folder where the tests are stored as test folder.
- If necessary, have RubyMine detect and enable the required testing framework on-the-fly.