To get started (on Mac OS X):
- Clone this codebase
- Install yarn if you don't already have it:
brew install yarn - Navigate into the
rpssubdirectory and runyarn install. (note:npm installmay fail to resolve dependencies, so use yarn)
- Tests must be added to a
specdirectory in therpsdirectory. - To run tests from the command line, simply run
yarn testin therpsdirectory. - To run tests from IntelliJ:
- Install the Node JS plugin
- Go into the Edit Configurations... menu and edit the default settings for Mocha
- Under Extra Mocha Options, add:
--require babel-register.