Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 859 Bytes

RUBYSPEC.md

File metadata and controls

39 lines (27 loc) · 859 Bytes

Ruby Spec

Artichoke embeds a copy of ruby/spec. ruby/spec is a set of specifications for testing the Ruby language, core, and standard library packages.

Artichoke enforces that some ruby/specs pass. These specs are tracked in spec-runner/enforced-specs.yaml.

Running Specs

You can run these specs for Artichoke crate with the spec-runner crate.

Running the enforced specs

cargo run -q --p spec-runner -- spec-runner/enforced-specs.yaml

Running specific specs

To run specific specs, create a custom spec manifest and pass it as the positional argument to the spec-runner binary.

For the uri stdlib package:

library:
  - suite: uri

For Array#each:

core:
  - suite: array
    specs:
      - each