Closed cj19 closed 8 months ago
I can't remember if I have seen this error before.
I would check is if the fact that you don't have any step definitions important or not. I don't know if that is the case or not.
Can you run a Java program from a command line? That is what the plugin does.
I would look at your path. Is it very long? There is a length limitation on some operating systems. And the error message indicates a long path.
If there is an error in the plugin, I would happily accept a pull request fixing the issue.
I can't remember if I have seen this error before.
I would check is if the fact that you don't have any step definitions important or not. I don't know if that is the case or not.
Can you run a Java program from a command line? That is what the plugin does.
I would look at your path. Is it very long? There is a length limitation on some operating systems. And the error message indicates a long path.
If there is an error in the plugin, I would happily accept a pull request fixing the issue.
Yes, there was already a similar issue. But adding the .ManifestClasspath plugin can't solve it either.
plugins {
id "se.thinkcode.cucumber-runner" version "0.0.11"
id "com.github.ManifestClasspath" version "0.1.0-RELEASE"
}
Any ideas? @keychera
Ahh, I had of course forgotten about that issue.
@cj19 I didn't see you specified using shorten
flag anywhere? have you tried using it?
you can use it either specifying the flag in the command you run or in the build.gradle file, like for example
cucumber {
//...
shorten = manifest
}
thank you for your help, it solved the issue!
Thank you @keychera!
Hi!
I have a build.gradle file with this configuration:
I also don't have steps config, because I use the predefined yaks steps to run the feature file, but when I try to run the tests using the plugin I get the following error:
What could be the issue?