Sha256: 8afa530273da09bf6d782382d91898f2d567c92167b127daaa250da0ac74a5a4

Contents?: true

Size: 1.1 KB

Versions: 9

Compression:

Stored size: 1.1 KB

Contents

Feature: Loading an arbitrary Ruby file as a reporter

    Background:
        Given the tests have started running

    Scenario: The file loaded does not contain a Ruby class
        When I pipe to xcpretty with "-r /bin/bash"
        Then the exit status code should be 1

    Scenario: The file loaded contains a Ruby class
        Given I have a file to compile
        When I pipe to xcpretty with a custom reporter
        Then the exit status code should be 0

    Scenario: Showing failed tests
        Given I have a failing test in my suite
        When I pipe to xcpretty with a custom reporter
        Then I should see a failed test in my custom report
        And the custom failure counter should show 1 test

    Scenario: Showing passing tests
        Given I have a passing test in my suite
        When I pipe to xcpretty with a custom reporter
        Then I should see a passing test in my custom report

    Scenario: Showing pending tests
        Given I have a pending test in my suite
        When I pipe to xcpretty with a custom reporter
        Then I should see a pending test in my custom report

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
xcpretty-0.4.0 features/custom_reporter.feature
xcpretty-security-patched-0.3.2 features/custom_reporter.feature
xcpretty-security-patched-0.3.0 features/custom_reporter.feature
xcpretty-0.3.0 features/custom_reporter.feature
xcpretty-0.2.8 features/custom_reporter.feature
xcpretty-0.2.7 features/custom_reporter.feature
xcpretty-0.2.6 features/custom_reporter.feature
xcpretty-0.2.4 features/custom_reporter.feature
xcpretty-0.2.3 features/custom_reporter.feature