This topic has missing or partial documentation. Please help us improve it.
O projeto Rubinius usa especificações executáveis no estilo TDD/BDD para impulsionar o desenvolvimento. Diretório ‘spec’ é conceitualmente dividida em duas partes:
The specs at ./spec/ruby are a copy of RubySpec at a particular revision. These are regularly imported from the RubySpec project and failing specs are tagged so that the CI process always runs a known good set of specs. This enables easily confirming that changes to Rubinius code do not cause regressions.
Pode encontrar mais informações sobre a organização das specs e os guias no Projeto RubySpec.
Use o seguinte workflow ao adicionar specs e código no Rubinius:
rake
command to ensure that all the CI specs pass.The changes to files in ./spec/ruby are regularly pushed to the RubySpec project. Also, current changes to RubySpec from committers to other Ruby implementations are regularly updated in the ./spec/ruby directories. When the specs are updated from RubySpec, the CI tags are also updated.