
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Launch debugger if spec is failed.
Add this line to your application's Gemfile:
gem 'rspec-debug'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install rspec-debug
Add RSPEC_DEBUG=1
environment variable for rspec
(or rake spec
and so on).
# example
$ RSPEC_DEBUG=1 rspec foo_spec.rb
$ RSPEC_DEBUG=1 rake spec
and invokes debugger if the spec is failed.
If you clone this repository, you can try this gem with the following steps:
$ bundle install
$ RSPEC_DEBUG=true bundle exec rake
RSpec::Debug
has a version number
try debug, 1st
Failure:
expected false
got true
[9, 18] in .../rspec-debug/spec/rspec_debug_spec.rb
9| require_relative '../lib/rspec/debug'
10|
11| RSpec.describe 'try debug, 1st' do
12| it 'should fail and debugger' do
13| a = true
=> 14| expect(a).to be false
15| end
16|
17| it 'should fail and debugger, 2nd' do
18| a = 42
=>#0 block in <top (required)> (2 levels) at .../rspec-debug/spec/rspec_debug_spec.rb:14```
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that rspec-debug demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.