Codeship
Parallel tests
How to setup parallel_tests:
change config/database.yml
database: cashbox_test
to
database: cashbox_test<%= ENV['TEST_ENV_NUMBER'] %>
run rake task for prepare test databases
rake parallel:setup
How to run parallel_tests:
rake parallel:spec
API documentation path:
To watch API documentation visit path /apipie
Linter
Ruby
You don't need additional configuration to check ruby with linter. See only specified package configuration for you editor.
Javascript
To check javascript code you may use eslint.
There are predefined rules in .eslintrc.yml
.
To install eslint you need npm installed. Usually you may install it with node package.
npm install eslint -g
Sublime Editor
To use eslint in sublime editor install next packages (check package page for instructions):