What does my Ruby do?
summary
RubySpec is an executable test corpus claiming 9,23 examples and 30,866 expectations that aims for verification, compatibility, implementation guidance and experimentation. It uses a tiny runner mspec with filters, actions and formatters, plus metadata tags, platform guards and a ruby_engine constant to distinguish implementations; a special ruby bug guard tracks known MRI bugs. Specs are explicit about platform/version behavior, pending is ignored as metadata is preferred, and instance_eval becomes necessary to fully run some suites.
AI-written summary · about
chapters (12)
- 0:00Start
- 5:21rubyspec
- 6:33index_spec.rb
- 9:39rspec-like
- 10:26assert a, b
- 23:00Did you say, comp
- 24:03What about accur
- 27:34Why not RSpec
- 32:20Tags
- 35:00spec metadata
- 39:34Analyze code
- 41:39Find out more








