https://github.com/codewars/minitest-reporters-codewars
Minitest reporter for Codewars
https://github.com/codewars/minitest-reporters-codewars
code-runner ruby test-reporting
Last synced: 3 months ago
JSON representation
Minitest reporter for Codewars
- Host: GitHub
- URL: https://github.com/codewars/minitest-reporters-codewars
- Owner: codewars
- License: mit
- Created: 2021-03-29T06:15:58.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-29T07:47:39.000Z (about 4 years ago)
- Last Synced: 2025-01-10T05:36:10.851Z (4 months ago)
- Topics: code-runner, ruby, test-reporting
- Language: Ruby
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Minitest::Reporters::Codewars
`test/test_helper.rb`:
```ruby
require "minitest/reporters"
require "minitest/reporters/codewars"
Minitest::Reporters.use! Minitest::Reporters::Codewars.new
```Write tests in files matching pattern `test/*_test.rb`.
Run all tests:
```bash
ruby -Ilib -Itest -r 'test_helper' -e 'ARGV.each { |f| require f }' ./test/*_test.rb
```