Closed zostay closed 2 years ago
I can identify the code that has the bug, but I don't know enough about the IntelliJ plugin SDK to know how best fix it. But basically, the code here:
Needs to be modified so that each:
commandList.add(runOptions.getGinkgoAdditionalOptions());
becomes something more like:
for (String option : splitOptions(runOptions.getGinkgoAdditionalOptions())) {
commandList.add(option)
}
The current solution only works if there's a single option in that configuration field.
Thank you for doing the leg work I should be able to release a fix for this shortly
This should be fixed in 0.5
Confirmed, though, there's a new bug with it.
I would like to only run a subset of packages in my test. However, if I try to set those by adding options or add any command-line at all, it appears that they get sent to ginkgo as a single string.
For example, setting the following in the test configuration's Ginkgo additional options:
--fail-fast --randomize-all pkg/ install/ test/bugs/
and then running results in the following error message followed by the ginkgo usage message:
Those extra options just need to be processed as command-line options and split up.