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

Stop test feature #83

Merged
merged 5 commits into from
Sep 16, 2016
Merged

Stop test feature #83

merged 5 commits into from
Sep 16, 2016

Conversation

fhoeben
Copy link
Owner

@fhoeben fhoeben commented Sep 16, 2016

Allows tests to be aborted when a certain condition is (not) met.

Introduced StopTestFixture which has two new methods (e.g. |stop test if|<actual>|is not|<expected>|) to abort the test if any value is not what is expected. This is intended to allow any test to be aborted by first assigning an actual value to a variable and then using one of these methods to abort the test if the variable has an unacceptable value.

…special enough to use a special fixture.

Made sure that StopTestFixture does not mind that the two values being compared are of different types. If they produce the same string they will still match
@fhoeben fhoeben merged commit e0bbdda into master Sep 16, 2016
@fhoeben fhoeben deleted the stopTestFeature branch September 16, 2016 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant