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

Add support for UniqueId selectors #91

Merged
merged 1 commit into from
Sep 27, 2022

Conversation

alextu
Copy link
Contributor

@alextu alextu commented Sep 26, 2022

This should fix #88 by enabling discovery by UniqueIds.

For example, given a selector [engine:scalatest]/[suite:tests.SomeTest], it should discover SomeTest.
But given [engine:scalatest]/[suite:tests.SomeTest]/[some method], it will still discover SomeTest and execute all its tests method.
Supporting selecting only the provided method would require some refactoring in the Discovery class.

Copy link
Contributor

@giurim giurim left a comment

Choose a reason for hiding this comment

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

First of all, thank you for your contribution. I will dedicate some time to merge this soon.

Copy link
Contributor

@giurim giurim left a comment

Choose a reason for hiding this comment

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

Nice work, I would only change one thing.

src/main/java/co/helmethair/scalatest/ScalatestEngine.java Outdated Show resolved Hide resolved
@giurim giurim marked this pull request as ready for review September 27, 2022 12:34
@giurim
Copy link
Contributor

giurim commented Sep 27, 2022

One more thing: I cannot update your branch, main is ahead and cannot merge until it is up to date.

giurim
giurim previously approved these changes Sep 27, 2022
@alextu
Copy link
Contributor Author

alextu commented Sep 27, 2022

One more thing: I cannot update your branch, main is ahead and cannot merge until it is up to date.

Will do, could you also wait for @marcphilipp's approval before merging?

@giurim
Copy link
Contributor

giurim commented Sep 27, 2022 via email

marcphilipp
marcphilipp previously approved these changes Sep 27, 2022
src/main/java/co/helmethair/scalatest/ScalatestEngine.java Outdated Show resolved Hide resolved
@alextu
Copy link
Contributor Author

alextu commented Sep 27, 2022

@giurim I've rebased on origin/main and Marc reviewed it, you should be able to merge

@giurim giurim merged commit 2035739 into helmethair-co:main Sep 27, 2022
@alextu alextu deleted the atual/uniqueid branch September 28, 2022 09:35
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.

Add support for UniqueId selectors scalatest-junit-runner does not work with Gradle Test Distribution
3 participants