Sha256: 7964bf914524471f29f36a0e1ef1e3e2513043f76c32279ead1d652d0e9066fb
Contents?: true
Size: 835 Bytes
Versions: 23
Compression:
Stored size: 835 Bytes
Contents
# This demonstrates the use of the options hash to support custom reporting. # To see the result, run this command from the project root: # # bin/spec --require examples/passing/options_formatter.rb examples/passing/options_example.rb \ # --format OptionsFormatter require File.dirname(__FILE__) + '/spec_helper' describe "this group will be reported", :report => true do it "this example will be reported", :report => true do # no-op end it "this example will not be reported", :report => false do # no-op end it "this example will also not be reported", :foo => 'bar' do # no-op end it "this example will also also not be reported" do # no-op end end describe "this group will not be reported", :report => false do it "though this example will", :report => true do # no-op end end
Version data entries
23 entries across 23 versions & 2 rubygems