-
Notifications
You must be signed in to change notification settings - Fork 13
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
Is there a way to trigger execution of a class (ScalaTest usecase) #1
Comments
the same with main methods. I guess first point would be to identify if Zed supports this for other languages. |
another way is to configure tasks, e.g. in command palette look for "zed: open local tasks", then you can create a task to run scala-cli test command, also allowing to configure environment variables etc - but this is still primitive. |
The support for detecting and running tests from the gutter started to appear in Zed very recently, see the following pull requests:
It is based on tree-sitter grammar though, which I imagine might be tricky to use for Scala? 🤔 |
Hi there, Just pushed a PR here to run scala test from within ZED. |
Hi!
I just found this amazing project and I am really happy that it has started. Is there a way to trigger execution of a ScalaTest class (or a maybe a "Main" class)? For the moment, the only way to do it "from Zed" is to open a terminal, then use sbt's
testOnly
, but typing the whole name of the class is somewhat impractical (takes a lot of time for me).Thanks so much again!
The text was updated successfully, but these errors were encountered: