Sha256: 1426ecf510855810bbe15ab913f59d02409a9a7c8ed0df6910490dae2ffd81e3

Contents?: true

Size: 1.16 KB

Versions: 12

Compression:

Stored size: 1.16 KB

Contents

Feature: Use the Gem to catch errors in a Rake application

  Background:
    Given I've prepared the Rakefile

  Scenario: Ignoring exceptions
    When I run rake with airbrake ignored
    Then Airbrake should not catch the exception

  Scenario: Catching exceptions in Rake
    When I run rake with airbrake
    Then Airbrake should catch the exception

  Scenario: Falling back to default handler before Airbrake is configured
    When I run rake with airbrake not yet configured
    Then Airbrake should not catch the exception

  Scenario: Disabling Rake exception catcher
    When I run rake with airbrake disabled
    Then Airbrake should not catch the exception

  Scenario: Autodetect, running from terminal
    When I run rake with airbrake autodetect from terminal
    Then Airbrake should not catch the exception

  Scenario: Autodetect, not running from terminal
    When I run rake with airbrake autodetect not from terminal
    Then Airbrake should catch the exception

  # @wip
  # Scenario: Airbrake should also send the command name
  #   When I run `rake airbrake_autodetect_not_from_terminal`
  #   Then command "airbrake_autodetect_not_from_terminal" should be reported

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
airbrakeV4rails5-4.3.8 features/rake.feature
airbrake-4.3.8 features/rake.feature
airbrake-4.3.7 features/rake.feature
airbrake-4.3.6 features/rake.feature
airbrake-4.3.5 features/rake.feature
airbrake-4.3.4 features/rake.feature
airbrake-4.3.3 features/rake.feature
airbrake-4.3.2 features/rake.feature
airbrake-4.3.1 features/rake.feature
airbrake-4.3.0 features/rake.feature
airbrake-4.2.1 features/rake.feature
airbrake-4.2.0 features/rake.feature