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 BSP TestParamsData kinds #2360

Merged
merged 3 commits into from
Jul 1, 2024

Conversation

KristianAN
Copy link
Contributor

@KristianAN KristianAN commented Jun 26, 2024

Adds support for TestParamsData kinds as defined in the scala extension of BSP. This allows clients to specify which test classes / tests to run

Relevant bsp documentation: https://build-server-protocol.github.io/docs/extensions/scala#testparamsdata-kinds

Fixed a bug? in the TestTask.discoverTestSuites where it did not filter on which test should should
run when explicitly passing list of test classes (fully qualified)

Included tests for running specific test suites, and tests within suites

Adds support for TestParamsData kinds as defined in the scala extension
of BSP. This allows clients to specify which test classes / tests to run
@KristianAN
Copy link
Contributor Author

KristianAN commented Jun 26, 2024

I could not find any tests for test bsp service, but maybe I was looking in the wrong place?

@tgodzik
Copy link
Contributor

tgodzik commented Jun 27, 2024

I could not find any tests for test bsp service, but maybe I was looking in the wrong place?

Did you take a look at BspTestSpec.scala ?

TestTask.discoverTestSuites where it did not filter on which test should should
run when explicitly passing list of test classes (fully qualified)

Included tests for running specific test suites, and tests within suites
Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks! Do you want to do anything with this PR or is it good to emrgE?

@KristianAN
Copy link
Contributor Author

It's good to merge as is I think

@tgodzik tgodzik merged commit 7154823 into scalacenter:main Jul 1, 2024
16 of 17 checks passed
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.

None yet

2 participants