Skip to content

Instantly share code, notes, and snippets.

@hydrogen18
Created February 11, 2017 16:34
Show Gist options
  • Save hydrogen18/23f812df0fd7679cb1694f772302f6ef to your computer and use it in GitHub Desktop.
Save hydrogen18/23f812df0fd7679cb1694f772302f6ef to your computer and use it in GitHub Desktop.
/home/ericu/.rvm/rubies/ruby-2.3.0/bin/ruby -I/home/ericu/.rvm/gems/ruby-2.3.0/gems/rspec-core-3.5.4/lib:/home/ericu/.rvm/gems/ruby-2.3.0/gems/rspec-support-3.5.0/lib /home/ericu/.rvm/gems/ruby-2.3.0/gems/rspec-core-3.5.4/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
Randomized with seed 8820
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Top 10 slowest examples (0.69994 seconds, 65.9% of total time):
HTTParty::Request SSL certificate verification should work when using ssl_ca_file with a certificate authority
0.11265 seconds ./spec/httparty/ssl_spec.rb:37
HTTParty::Request SSL certificate verification should work when using ssl_ca_file with a self-signed CA
0.11161 seconds ./spec/httparty/ssl_spec.rb:33
HTTParty::Request SSL certificate verification should work when no trusted CA list is specified, even with a bogus hostname, when the verify option is set to true
0.11147 seconds ./spec/httparty/ssl_spec.rb:29
HTTParty::Request SSL certificate verification should fail when using ssl_ca_file and the server uses a bogus hostname
0.11028 seconds ./spec/httparty/ssl_spec.rb:62
HTTParty::Request SSL certificate verification should work when no trusted CA list is specified, when the verify option is set to false
0.10886 seconds ./spec/httparty/ssl_spec.rb:19
HTTParty::Request options digest_auth should maintain cookies returned from a 401 response
0.0667 seconds ./spec/httparty/request_spec.rb:189
HTTParty::Request a request that 302 redirects once should be handled by MKCOL transparently
0.03522 seconds ./spec/httparty/request_spec.rb:680
HTTParty#get should be able parse response type xml automatically
0.03272 seconds ./spec/httparty_spec.rb:806
HTTParty::Request SSL certificate verification should fail when using ssl_ca_file and the server uses an unrecognized certificate authority
0.00587 seconds ./spec/httparty/ssl_spec.rb:50
HTTParty::Request SSL certificate verification should fail when using ssl_ca_path and the server uses a bogus hostname
0.00457 seconds ./spec/httparty/ssl_spec.rb:68
Top 10 slowest example groups:
HTTParty::Request
0.05237 seconds average (0.57606 seconds / 11 examples) ./spec/httparty/ssl_spec.rb:3
HTTParty::Logger::ApacheFormatter
0.00263 seconds average (0.00527 seconds / 2 examples) ./spec/httparty/logger/apache_formatter_spec.rb:3
HTTParty::Request
0.00126 seconds average (0.2877 seconds / 228 examples) ./spec/httparty/request_spec.rb:3
HTTParty::Logger::CurlFormatter
0.00103 seconds average (0.01334 seconds / 13 examples) ./spec/httparty/logger/curl_formatter_spec.rb:3
HTTParty
0.0008 seconds average (0.0864 seconds / 108 examples) ./spec/httparty_spec.rb:3
Net::HTTPHeader::DigestAuthenticator
0.00057 seconds average (0.01872 seconds / 33 examples) ./spec/httparty/net_digest_auth_spec.rb:3
HTTParty::CookieHash
0.0005 seconds average (0.00504 seconds / 10 examples) ./spec/httparty/cookie_hash_spec.rb:3
HTTParty::Response
0.00041 seconds average (0.03496 seconds / 85 examples) ./spec/httparty/response_spec.rb:3
HTTParty::ConnectionAdapter
0.00037 seconds average (0.02098 seconds / 56 examples) ./spec/httparty/connection_adapter_spec.rb:3
HTTParty::Error
0.00037 seconds average (0.00224 seconds / 6 examples) ./spec/httparty/exception_spec.rb:3
Finished in 1.06 seconds (files took 0.19575 seconds to load)
588 examples, 0 failures
Randomized with seed 8820
Coverage report generated for RSpec to /hotels/ericu/builds/httparty/coverage. 783 / 812 LOC (96.43%) covered.
Using the default profile...
....................................................................................................................................................................
33 scenarios (33 passed)
164 steps (164 passed)
0m10.963s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment