Skip to content

Conversation

schatekar
Copy link
Contributor

#1088 MultiNode tests can now be skipped by specifying a SkipReason

I have learned that XUnit works in two phases - discovery of tests and execution of tests.

The tests that are to be skipped are skipped during execution and not discovery. I believe this is because you would want to show a message that a test was not executed but skipped for a particular reason. Since MultiNodeTestRunner has its own test execution logic, a change was needed in that logic to skip the tests.

@annymsMthd
Copy link
Contributor

Skipped tests are bad
On Sat, Aug 8, 2015 at 2:41 AM Suhas Chatekar notifications@github.com
wrote:

#1088 #1088 MultiNode
tests can now be skipped by specifying a SkipReason

I have learned that XUnit works in two phases - discovery of tests and
execution of tests.

The tests that are to be skipped are skipped during execution and not
discovery. I believe this is because you would want to show a message that
a test was not executed but skipped for a particular reason. Since
MultiNodeTestRunner has its own test execution logic, a change was needed

in that logic to skip the tests.

You can view, comment on, or merge this pull request online at:

#1221
Commit Summary

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#1221.

@schatekar
Copy link
Contributor Author

@annymsMthd I get the point but a mechanism is needed to stop the randomly failing tests from failing the build until we fix them.

rogeralsing added a commit that referenced this pull request Aug 8, 2015
#1088 MultiNode tests can now be skipped by specifying a SkipReason
@rogeralsing rogeralsing merged commit f60a2b8 into akkadotnet:dev Aug 8, 2015
@rogeralsing
Copy link
Contributor

👍

@Aaronontheweb
Copy link
Member

@annymsMthd currently the clustered router tests are skipped - there's something inherently racy with the tests themselves.

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.

4 participants