Skip to content

Conversation

SergeKireev
Copy link
Contributor

This would help solve pantsbuild/pants#8594, and make this runner coherent with runners in junit libraries

override def testCount() = suiteToRun.expectedTestCount(Filter())

override def filter(filter: TestFilter): Unit = {
if (filter.shouldRun(getDescription)) throw new NoTestsRemainException
Copy link

Choose a reason for hiding this comment

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

I think you need to negate the condition. Towards that end, is a test possible?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right, my bad. I added a test to check the correct behavior

@SergeKireev SergeKireev force-pushed the junitrunner_filterable branch from 28db599 to d940433 Compare November 11, 2019 15:18
@SergeKireev SergeKireev force-pushed the junitrunner_filterable branch 2 times, most recently from 994e115 to 6982fad Compare November 11, 2019 16:25
@cheeseng
Copy link
Contributor

@SergeKireev Sorry for attending late to this, The changes looks great and I think it will be really helpful if we can merge this.

By any chance have you signed before Artima Inc. CLA:

http://www.artima.com/cla/contributorsLicenseAgreement.pdf

or for Corporate:

http://www.artima.com/cla/corpContributorsLicenseAgreement.pdf

Please kindly print, sign and scan back a copy to cla@artima.com, we apologize for any inconvenience caused, we intended to improve the process but somehow it just didn't happen yet.

Thanks again for your hard effort!

Cheers.

@plinlor
Copy link

plinlor commented Aug 9, 2020

@cla-bot[bot] check

@cla-bot
Copy link

cla-bot bot commented Aug 9, 2020

Hi @SergeKireev, we require contributors to sign our Contributor License Agreement, and we don't have yours on file. In order for us to review and merge your code, please access https://www.artima.com/cla/choose-type to sign our Contributor License Agreement. Your effort is highly appreciated. Thank you.

@cla-bot
Copy link

cla-bot bot commented Aug 9, 2020

The cla-bot has been summoned, and re-checked this pull request!

@cheeseng cheeseng requested a review from bvenners June 14, 2024 01:36
@cheeseng
Copy link
Contributor

@SergeKireev Changes are merged in main branch, sorry for the super late respond. 🙏🏻

@cheeseng cheeseng closed this Jun 19, 2024
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.

5 participants