Skip to content

Hunk13/ruby-test-runner

 
 

Repository files navigation

Exercism's Ruby test runner

Tests

This is Exercism's test runnner for the Ruby track.

It is run with ./bin/run.sh $EXERCISE $PATH_TO_FILES $PATH_FOR_OUTPUT read the source code from $PATH_TO_FILES and write a JSON file with the test results to 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 config set --local with 'test'
bundle install

Then, in test/test_helper.rb, comment the "Production command" system(…) out and uncomment either of the "Testing commands".

Lastly, run the following command to run the tests:

bundle exec rake test

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 84.9%
  • Shell 13.4%
  • Dockerfile 1.7%