IntelliJ Shortcut command line for cucumber tests

I ran into the problem of running Cucumber tests in IntelliJ. When I try to run a function or script, I get the following error:

"Error running 'Feature <feature>': Command line is too long. Shorten command line for Feature: <feature> or also for Cucumber java default configuration"

I know that as part of IntelliJ release 2017.3 , they added support for the "Shorten the command line" option in Run / Debug configurations. However, if I compare the default configuration, I do not see it as part of the Cucumber Java configuration, but I see it in the JUnit configuration, for example.

I am not getting a tooltip that others mentioned dynamic .classpath, I guess because of this new version. Any ideas?

+4
source share
2 answers

IntelliJ workspace.xml, dynamic.classpath true, .

<component name="PropertiesComponent">
    ...
    <property name="dynamic.classpath" value="true" />
</component>

, IntelliJ , , "Shorten Command Line" 2017.3 ​​ Run/Debug , . Cucumber Java , , .

, , : Shorten command line dropdown

: IDEA 10.5.

+4
0

Source: https://habr.com/ru/post/1691749/


All Articles