Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
source "https://rubygems.org"
gem "rspec"
gem "rake"
GEM
remote: https://rubygems.org/
specs:
diff-lcs (1.1.3)
rake (0.9.2.2)
rspec (2.12.0)
rspec-core (~> 2.12.0)
rspec-expectations (~> 2.12.0)
rspec-mocks (~> 2.12.0)
rspec-core (2.12.1)
rspec-expectations (2.12.0)
diff-lcs (~> 1.1.3)
rspec-mocks (2.12.0)
PLATFORMS
ruby
DEPENDENCIES
rake
rspec
describe "profiling" do
it "is fast" do
end
it "is slow" do
sleep 3
end
it "is pending" do
pending "is pending"
end
it "is failing", failing: true do
throw "this is failing"
end
end
task :default do
puts "This shows profile info:"
sh "rspec profile_spec.rb --profile --tag ~failing"
puts '-' * 80
puts "This doesn't:"
sh "rspec profile_spec.rb --profile"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.