Я использую Springboot с Serenity как UI Test Framework, и я хочу добавить огурец в свой проект. Моя проблема в том, что Test не загружает тестовое приложение Springboot. Не могли бы вы мне помочь? Мои зависимости:Serenity with Cucumber и Springboot
testCompile("net.serenity-bdd:serenity-core:${serenityVersion}")
testCompile("net.serenity-bdd:serenity-junit:${serenityVersion}")
testCompile("net.serenity-bdd:serenity-spring:${serenityVersion}")
testCompile("net.serenity-bdd:serenity-cucumber:${cucumberVersion}")
testCompile("info.cukes:cucumber-java:1.2.5")
Мой Serenity тест/Огурцы (FrontendTestApplication помечается @SpringbootApplication):
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT, classes = {FrontendTestApplication.class})
@RunWith(CucumberWithSerenity.class)
public class InputStationCucumber {
}
Если я запускаю мой старый тест, Everthing работает нормально, но этот тест не запустите мое приложение Springboot.
Помогите мне, ребята?
С уважением, Lars