Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

How to use testkit to improve Mill #689

nafg started this conversation in General
Aug 2, 2024 · 3 comments · 2 replies
Discussion options

I've been having some issues with IntelliJ and Mill, and on Discord @lefou suggested adding a test suite based on bsp testkit could help, but I don't know anything about it. How would one go about doing that?

You must be logged in to vote

Replies: 3 comments · 2 replies

Comment options

The discussion was about Mill BSP and how to improve Mill BSP. Mill has a pretty good test coverage but the BSP component does not, so the best start to improve BSP is to add test coverage which additionally enables a developer to reproduce and fix reported issues.

The build-server-protocol project has a testkit. There is a also successor bsp-testkit2, but it's not documented and there isn't any feedback, which makes adding it to Mill non-trival.

So, if anybody want to improvement to Mill BSP, contributing a test setup would IMHO to most helpful task.

You must be logged in to vote
0 replies
Comment options

cc @AnthonyGrod as he is working on Mill IntelliJ integration

You must be logged in to vote
2 replies
@AnthonyGrod
Comment options

Hello, currently I'm working on integrating Mill over IJ-BSP plugin (https://github.com/JetBrains/intellij-bsp). At the moment I'm focusing on very basic functionalities first but I'll be happy to help when I will finish the basic support.

@nafg
Comment options

Is that what current BSP import uses or is that meant to replace the current functionality?

Comment options

Is that what current BSP import uses or is that meant to replace the current functionality?

Current functionality in Scala plugin will be superseded by the dedicated BSP plugin. Mill will be the first use case.

As for using the testkit, maybe @agluszak can give some pointers.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.