Sha256: a921f209ee03d43fedb1c47c5ad3960eb9ae9b8654b1d7e347cc1c583053b4ee
Contents?: true
Size: 1.56 KB
Versions: 15
Compression:
Stored size: 1.56 KB
Contents
Feature: Check file content Background: Given I use a fixture named "cli-app" Scenario: Check file contents with plain text Given a file named "features/non-existence.feature" with: """ Feature: Check Scenario: Check Given a file named "foo" with: \"\"\" hello world \"\"\" Then the file "foo" should contain "hello world" And the file "foo" should not contain "HELLO WORLD" """ When I run `cucumber` Then the features should all pass Scenario: Check file contents with regular expression Given a file named "features/non-existence.feature" with: """ Feature: Check Background: Given a file named "foo" with: \"\"\" hello world \"\"\" Scenario: Check #1 Then the file "foo" should match /hel.o world/ And the file "foo" should not match /HELLO WORLD/ Scenario: Check #2 Then the file "foo" should match %r<hel.o world> And the file "foo" should not match %r<HELLO WORLD> """ When I run `cucumber` Then the features should all pass Scenario: Check file contents with cucumber doc string Given a file named "features/non-existence.feature" with: """ Feature: Existence Scenario: Existence Given a file named "foo" with: \"\"\" foo bar baz foobar \"\"\" Then the file "foo" should contain: \"\"\" bar baz \"\"\" """ When I run `cucumber` Then the features should all pass
Version data entries
15 entries across 15 versions & 2 rubygems