1
0
Fork 0
mirror of https://github.com/rails/execjs synced 2023-03-27 23:21:20 -04:00

Merge pull request #48 from junaruga/feature/contributing-mini-racer

Add note about installing and testing mini_racer
This commit is contained in:
Guillermo Iguaran 2016-07-19 08:08:25 -05:00 committed by GitHub
commit ff3f0fd993

View file

@ -34,6 +34,15 @@ bundle install
bundle exec rake bundle exec rake
``` ```
Note that test:miniracer is failed in the tests, because mini_racer is not installed, and it is mutually exclusive with therubyracer.
To run test:miniracer
```
EXECJS_RUNTIME=MiniRacer bundle install --path=<path>
EXECJS_RUNTIME=MiniRacer bundle exec rake test:miniracer
```
#### Write Tests #### Write Tests
Try to write a test that reproduces the problem you're trying to fix or describes a feature that you want to build. Add to [test](test). Try to write a test that reproduces the problem you're trying to fix or describes a feature that you want to build. Add to [test](test).