Sha256: c8cc3eec9fca4a5749c215d74f784fe7c406f90f6360ff5d6d5a5525a4710a92
Contents?: true
Size: 1.35 KB
Versions: 19
Compression:
Stored size: 1.35 KB
Contents
Feature: Backtrace filtering As a developer In order to faster find the backtrace lines I want to see modified backtraces with only non-library calls Background: Given I am in a project using gurke And a file "features/test.feature" with the following content exists """ Feature: F Scenario: Scenario A Given there is an error """ And a file "features/support/steps/test_steps.rb" with the following content exists """ module TestSteps step("there is an error") { raise RuntimeError } end Gurke.configure{|c| c.include TestSteps } """ Scenario: See backtrace without line from libraries When I execute "bundle exec gurke" Then the program output should include "features/support/steps/test_steps.rb:2" Then the program output should not include "gurke/lib/gurke/runner.rb" Scenario: See backtrace when run with --backtrace When I execute "bundle exec gurke --backtrace" Then the program output should include "features/support/steps/test_steps.rb:2" Then the program output should include "gurke/lib/gurke/runner.rb" Scenario: See backtrace when run with -b When I execute "bundle exec gurke -b" Then the program output should include "features/support/steps/test_steps.rb:2" Then the program output should include "gurke/lib/gurke/runner.rb"
Version data entries
19 entries across 19 versions & 1 rubygems