Skip to content

Add ability to skip individual tests#230

Merged
kegsay merged 2 commits intomasterfrom
kegan/runtime
Nov 22, 2021
Merged

Add ability to skip individual tests#230
kegsay merged 2 commits intomasterfrom
kegan/runtime

Conversation

@kegsay
Copy link
Member

@kegsay kegsay commented Nov 19, 2021

  • Added runtime.SkipIf
  • Re-combined federation test as it can now be individually skipped on Dendrite.

From a CI perspective, no changes are required as this uses the existing build
tags setup to detect HS impl. Fixes #227

- Added `runtime.SkipIf`
- Re-combined federation test as it can now be individually skipped on Dendrite.

From a CI perspective, no changes are required as this uses the existing build
tags setup to detect HS impl.
@kegsay kegsay added the enhancement New feature or request label Nov 19, 2021
@kegsay kegsay requested a review from neilalexander November 19, 2021 13:49
Copy link
Contributor

@neilalexander neilalexander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall PR looks fine. Not sure if it is idiomatic to overload a standard library package name (runtime) but I don't suppose in this case it really matters given that the runtime packgae is really quite specialised.

@kegsay kegsay merged commit 7d427c3 into master Nov 22, 2021
@kegsay
Copy link
Member Author

kegsay commented Nov 22, 2021

That was my thinking: it's rare to use runtime so overloading it seems fine to me. I don't think it's idiomatic or not idiomatic to overload a stdlib package name, it depends on your application imo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support per-test blacklists

2 participants