Sha256: 8af970fa7049fdd52436bb4b21852b4ff396a4168068e90fd4da737038a6119b

Contents?: true

Size: 1.03 KB

Versions: 6

Compression:

Stored size: 1.03 KB

Contents

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

  Background:
    Given I've prepared the Rakefile

  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

6 entries across 6 versions & 1 rubygems

Version Path
airbrake-3.1.12 features/rake.feature
airbrake-3.1.11 features/rake.feature
airbrake-3.1.10 features/rake.feature
airbrake-3.1.9 features/rake.feature
airbrake-3.1.8 features/rake.feature
airbrake-3.1.7 features/rake.feature