There are a bunch of ways to verify your changes to Ruby after you’ve build the binary. Which one you’ll use will depend on where you’re working in the codebase, and how quickly you need feedback.
From fastest (least coverage) to slowest (most coverage), these are:
miniruby. ~1400 tests, ~50 seconds on my mac.
make testrequires full
rubyand runs a test suite. ~1400 tests, ~60 seconds on my Macbook.
make test-allrequires full
ruby, 20k tests, ~20 minutes.
You can run a single test file with
make test-all TESTS=/path/to/test/file.rb
You can also Run tests using the debugger [debugging]