Closed justinhj closed 2 years ago
I'll check it out, thanks for reporting.
hmm seems like a neotest issue, like you didn't run the setup of the plugin. Can you post the test file you're trying to run? Or just a minimal example for me to try to reproduce.
Sure I'm running against my project here https://github.com/justinhj/duct.git
I was using this file but I had to rename it because I'm not using the names that the test expects. I changed to Semigrouptests.scala
I've successfully ran tests in your project, but I had to:
name := "core"
line in your build.sbt
in order to explicitly set the project name, as I didn't implement resolving lazy definition of projectsThe second point could also be done by explicitly passing project name to neotest-scala
adapter, I'll add that too.
But do tell me if this fixes your problem, since I haven't received the error you reported.
I've added 2b69ab06ab98b079561a1e4f595d55eeda35406c so project name should be resolved automatically, you can try again now.
Hi Stevan, thanks for the troubleshooting. It turns out neotest is not setup correctly, I get the same error with a lua test. I'll figure that out and come back and close this once I've confirmed no issue.
Still can't get neotest working but I'll close this since it's clearly not the problem.
Hi Stevan
I've never used neotest but I was looking for something like this so tried it out. Forgive me if this is user error, but I ran into some problem.
I'm running bloop and metals latest versions. I installed neotest and your plugin.
My config...
I ran this on my file which has an munit.FunSuite
lua require("neotest").run().run()