Sha256: baca4f01919a5bc5dd32de13f7c87937ba2c4f0a7c3fb00af9e763e9c56068aa
Contents?: true
Size: 786 Bytes
Versions: 27
Compression:
Stored size: 786 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 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
27 entries across 27 versions & 10 rubygems