https://github.com/exercism/ruby-test-runner
https://github.com/exercism/ruby-test-runner
community-contributions-paused exercism-test-runner exercism-tooling maintained
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/exercism/ruby-test-runner
- Owner: exercism
- License: agpl-3.0
- Created: 2019-08-28T16:32:11.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-04-02T19:00:06.000Z (3 months ago)
- Last Synced: 2025-04-29T06:34:35.438Z (2 months ago)
- Topics: community-contributions-paused, exercism-test-runner, exercism-tooling, maintained
- Language: Ruby
- Size: 275 KB
- Stars: 6
- Watchers: 12
- Forks: 10
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Exercism's Ruby test runner

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:
```bash
./bin/run.sh two-fer ~/solution-238382y7sds7fsadfasj23j/ ~/solution-238382y7sds7fsadfasj23j/output
```## Running the tests
Before running the tests, first install the dependencies:
```bash
bundle config set --local with 'test'
bundle install
```Then, in [test/test_helper.rb](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:
```bash
bundle exec rake test
```