Sha256: fb4e5f40d4ed7a4963617d4a0f3c2ef361343df274399868ef9419bfedd27ca0

Contents?: true

Size: 1.71 KB

Versions: 16

Compression:

Stored size: 1.71 KB

Contents

Feature: Verify
  @no-clobber
  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
      """

  @no-clobber
  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
      """

  @no-clobber
  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
      WARN: 'Pure-FTPd' is missing an example that checks for parameter 'pureftpd.config' messsage which is derived from a capture group
      SUMMARY: Test completed with 1 successful, 2 warnings, and 0 failures
      """
    And the exit status should be 2

  @no-clobber
  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
      """

  @no-clobber
  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'. Result was 1.0
      SUMMARY: Test completed with 0 successful, 0 warnings, and 4 failures
      """
    And the exit status should be 4

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
recog-2.3.21 features/verify.feature
recog-2.3.20 features/verify.feature
recog-2.3.19 features/verify.feature
recog-2.3.18 features/verify.feature
recog-2.3.17 features/verify.feature
recog-2.3.16 features/verify.feature
recog-2.3.15 features/verify.feature
recog-intrigue-2.3.14 features/verify.feature
recog-2.3.14 features/verify.feature
recog-2.3.13 features/verify.feature
recog-2.3.12 features/verify.feature
recog-2.3.11 features/verify.feature
recog-2.3.10 features/verify.feature
recog-2.3.9 features/verify.feature
recog-intrigue-2.3.7 features/verify.feature
recog-2.3.8 features/verify.feature