To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!More about adding a collaborator
In an example, before or after hook, you can halt the current example, group,
or suite based on arbitrary criteria.
- halt group on failure
- a directory named "spec"
a file named "spec/example_spec.rb" with:
RSpec.configure do |c| c.after(:each) do example.halt(:group, :status => 'failed') end end describe "something" do it "fails" do fail end it "does not run this example" do end end
- I run "rspec ./spec/example_spec.rb"
- the output should contain "1 example, 1 failure"
Last published over 5 years ago by dchelimsky.
RSpec Core settings