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
.
You can run these specs for Artichoke crate with the spec-runner
crate.
cargo run -q --p spec-runner -- spec-runner/enforced-specs.yaml
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