简体   繁体   中英

Cucumber issue(Calling step defination from other java project )

我的要求是我将我的步骤定义代码保留在其他 Java 项目中,而我的跑步者类在其他 Java 项目中。我无法调用其他 Java 项目中提供的步骤定义。请帮助我如何实现相同的目标

当我将 Runner Class Java 项目添加到步骤定义项目构建路径的构建路径时,这个问题得到了解决。然后我能够直接使用来自其他 Java 项目的包名提供胶水代码路径。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM