Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a RandomContext for generating random strings in steps. #481

Merged
merged 1 commit into from
Apr 17, 2018

Conversation

jhedstrom
Copy link
Owner

Given I am viewing an "Article" with the title "<title>"
Then I should see the header "<title>"

When the RandomContext is included, then <title> will be replaced
with a random string during the scenario. It will have a consistent
value throughout a given scenario, but a new value in subsequent
scenarios.

@jhedstrom jhedstrom added this to the 4.0 release milestone Mar 27, 2018
@jhedstrom jhedstrom force-pushed the 293-random-generator branch 2 times, most recently from 44f9eec to 17ccdf5 Compare March 28, 2018 16:05
@jhedstrom jhedstrom force-pushed the 293-random-generator branch from 17ccdf5 to 9d95fd9 Compare April 13, 2018 14:36
```
Given I am viewing an "Article" with the title "<title>"
Then I should see the header "<title>"
```

When the `RandomContext` is included, then `<title>` will be replaced
with a random string during the scenario. It will have a consistent
value throughout a given scenario, but a new value in subsequent
scenarios.

- Fixes #293
@jhedstrom jhedstrom force-pushed the 293-random-generator branch from 9d95fd9 to 61a8259 Compare April 17, 2018 17:08
@jhedstrom jhedstrom merged commit f3164de into master Apr 17, 2018
@jhedstrom jhedstrom deleted the 293-random-generator branch April 17, 2018 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant