Skip to content

This is Exercism's automated analyzer for the Ruby track.

License

Notifications You must be signed in to change notification settings

exercism/ruby-analyzer

Repository files navigation

Exercism's Ruby Analyzer

Tests

This is Exercism's automated analyzer for the Ruby track.

It is run with ./bin/run.sh $EXERCISM $PATH_TO_FILES $PATH_FOR_OUTPUT and will read the source code from $PATH_TO_FILES and write a JSON file with an analysis to $PATH_FOR_OUTPUT.

For example:

./bin/run.sh two_fer ~/solution-238382y7sds7fsadfasj23j/ ~/solution-238382y7sds7fsadfasj23j/output/

Running the tests

Before running the tests, first install the dependencies:

bundle install

Then, run the following command to run the tests:

bundle exec rake test