Sha256: a73e830051f4c49c5ac99bf89013422dc3f68121fb422b8e36e14233b8fb4000

Contents?: true

Size: 1.16 KB

Versions: 9

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

9 entries across 9 versions & 1 rubygems

Version Path
airbrake-4.1.0 features/rake.feature
airbrake-4.0.0 features/rake.feature
airbrake-3.2.1 features/rake.feature
airbrake-3.2.0 features/rake.feature
airbrake-3.1.17 features/rake.feature
airbrake-3.1.16 features/rake.feature
airbrake-3.1.15 features/rake.feature
airbrake-3.1.14 features/rake.feature
airbrake-3.1.13 features/rake.feature