Sha256: c6d7e799ffbee38eec90db247a9d1b61127d932e65fc5de76d7e56a712516e2d
Contents?: true
Size: 857 Bytes
Versions: 3
Compression:
Stored size: 857 Bytes
Contents
require "xcpretty/printer" require "xcpretty/printers/rspec" require "fixtures/constants" module XCPretty module Printer describe RSpec do it "prints dots in the same line" do STDOUT.should receive(:print) subject.pretty_print(SAMPLE_OCUNIT_TEST) end it "prints dots for passing tests" do subject.pretty_format(SAMPLE_OCUNIT_TEST).should == "." end it "prints F for failing tests" do subject.pretty_format(SAMPLE_KIWI_FAILURE).should == "F" end describe "doesn't output any compiling output" do it "compiling output" do subject.pretty_format(SAMPLE_COMPILE).should == "" end it "clean target/project/configuration with nested pods" do subject.pretty_format(SAMPLE_CLEAN).should == "" end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
xcpretty-0.0.3 | spec/xcpretty/printers/rspec_spec.rb |
xcpretty-0.0.2 | spec/xcpretty/printers/rspec_spec.rb |
xcpretty-0.0.1 | spec/xcpretty/printers/rspec_spec.rb |