Skip to content

Add support for logging the reason if a test is skipped or marked pending#1353

Merged
nohwnd merged 1 commit intopester:masterfrom
JamesWTruher:MessageForSkipPend
Aug 28, 2019
Merged

Add support for logging the reason if a test is skipped or marked pending#1353
nohwnd merged 1 commit intopester:masterfrom
JamesWTruher:MessageForSkipPend

Conversation

@JamesWTruher
Copy link
Copy Markdown
Contributor

If you create a nunit log, the reason for skipping or a pending test is not persisted, but the schema seems to allow this, and we would like to keep the information in our logs.

1. General summary of the pull request

The nunit schema allows for a reason to be associated with a test which is skipped or marked pending (or inconclusive). While the current behavior provides a way to emit a reason for skipping or pending, that is only written to the console and not persisted. This PR ensures that those reasons (if provided) will make it into the nunit log.

@JamesWTruher
Copy link
Copy Markdown
Contributor Author

@nohwnd - if you have time would you take a look?

@nohwnd nohwnd merged commit 8b9cf42 into pester:master Aug 28, 2019
@nohwnd
Copy link
Copy Markdown
Member

nohwnd commented Aug 28, 2019

Merged thanks. Will try to do release till the end of the week. :)

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.

2 participants