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

New Feature: Testing for an exception #1131

Merged
merged 4 commits into from Dec 22, 2018
Merged

Conversation

six42
Copy link
Contributor

@six42 six42 commented Mar 26, 2018

Testing for an exception
You can validate that your code throws an exception in a given scenario. Start the expected text with '''EXCEPTION:''' followed by a regular expression which matches the exception text or stacktrace.

In addition thrown exceptions are now displayed in the cell which raised them and not in the row. This makes the results more readable.

Details are in the new test page:
.FitNesse.SuiteAcceptanceTests.SuiteSlimTests.TestExceptionIsDisplayed.TestPage

@fhoeben fhoeben merged commit 30ad9bf into unclebob:master Dec 22, 2018
fhoeben added a commit that referenced this pull request Dec 22, 2018
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.

None yet

2 participants