Sha256: b588f57e8ada79719876a71f6733d05a6ddd01b281c21efa9ee0755976081ce9

Contents?: true

Size: 1.49 KB

Versions: 19

Compression:

Stored size: 1.49 KB

Contents

Feature: Verify
  Scenario: No tests
    When I run `recog_verify no_tests.xml`
    Then it should pass with:
      """
      SUMMARY: Test completed with 0 successful, 0 warnings, and 0 failures
      """

  Scenario: Successful tests
    When I run `recog_verify successful_tests.xml`
    Then it should pass with:
      """
      SUMMARY: Test completed with 4 successful, 0 warnings, and 0 failures
      """

  Scenario: Tests with warnings, warnings enabled
    When I run `recog_verify tests_with_warnings.xml`
    Then it should fail with:
      """
      WARN: 'Pure-FTPd' has no test cases
      SUMMARY: Test completed with 1 successful, 1 warnings, and 0 failures
      """
    And the exit status should be 1

  Scenario: Tests with warnings, warnings disabled
    When I run `recog_verify --no-warnings tests_with_warnings.xml`
    Then it should pass with:
      """
      SUMMARY: Test completed with 1 successful, 0 warnings, and 0 failures
      """

  Scenario: Tests with failures
    When I run `recog_verify tests_with_failures.xml`
    Then it should fail with:
      """
      FAIL: 'foo test' failed to match "bar" with (?-mix:^foo$)'
      FAIL: '' failed to match "This almost matches" with (?-mix:^This matches$)'
      FAIL: 'bar test's os.name is a non-zero pos but specifies a value of 'Bar'
      FAIL: 'bar test' failed to find expected capture group os.version '5.0'
      SUMMARY: Test completed with 0 successful, 0 warnings, and 4 failures
      """
    And the exit status should be 4


Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
recog-2.1.8 features/verify.feature
recog-2.1.7 features/verify.feature
recog-2.1.6 features/verify.feature
recog-2.1.5 features/verify.feature
recog-2.1.4 features/verify.feature
recog-2.1.3 features/verify.feature
recog-2.1.2 features/verify.feature
recog-2.1.1 features/verify.feature
recog-2.1.0 features/verify.feature
recog-2.0.24 features/verify.feature
recog-2.0.23 features/verify.feature
recog-2.0.22 features/verify.feature
recog-2.0.21 features/verify.feature
recog-2.0.20 features/verify.feature
recog-2.0.19 features/verify.feature
recog-2.0.18 features/verify.feature
recog-2.0.17 features/verify.feature
recog-2.0.16 features/verify.feature
recog-2.0.15 features/verify.feature