Sha256: 7d77a8dbf48804c4cde32ea42857790fbf700cecf6ba5d714dd51e3a504cf0eb

Contents?: true

Size: 1.5 KB

Versions: 6

Compression:

Stored size: 1.5 KB

Contents

Feature: Creating a HTML test report

    Background:
        Given the tests have started running

    Scenario: Showing a test suite
        Given I have a passing test in my suite
        When I pipe to xcpretty with "--report html"
        Then I should see a test suite section in HTML

    Scenario: Showing failed tests
        Given I have a failing test in my suite
        When I pipe to xcpretty with "--report html"
        Then I should see a failed test in HTML
        And the 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 "--report html"
        Then I should see a passing test in HTML

    Scenario: Counting tests
        Given I have a passing test in my suite
        And I have a failing test in my suite
        And the test suite has finished
        When I pipe to xcpretty with "--report html"
        Then I should see 2 tests in HTML

    Scenario: Having many test classes
        Given I have tests in my suite from 2 classes
        When I pipe to xcpretty with "--report html"
        Then I should see 2 test suite sections in HTML

    Scenario: Writing to a custom file path
        When I pipe to xcpretty with "--report html" and specify a custom path
        Then I should have a test report in a custom path

    Scenario: Writing to multiple custom file paths
        When I pipe to xcpretty with two custom "html" report paths
        Then I should have test reports in two custom paths

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
learn-xcpretty-0.1.12 features/html_report.feature
learn-xcpretty-0.1.11 features/html_report.feature
xcpretty-0.1.6 features/html_report.feature
xcpretty-0.1.5 features/html_report.feature
xcpretty-0.1.4 features/html_report.feature
xcpretty-0.1.3 features/html_report.feature