serenity-bdd / serenity-cucumber

Cucumber integration for the Serenity BDD Reporting library
Other
78 stars 74 forks source link

Test Pending - Found no Cucumber 4.x.x class cucumber.runtime.model.FeatureLoader try Cucumber 2.x.x #201

Closed bryanvaldellon closed 5 years ago

bryanvaldellon commented 5 years ago

Tried to run cucumber feature but it returns Test pending. please see console message and POM below.

Console:

2019-03-06 11:51:20.359 [main] INFO n.t.c.steps.ConsoleLoggingListener#logBanner(line:217) -


 _______. _______ .______       _______ .__   __.  __  .___________.____    ____ 
/       ||   ____||   _  \     |   ____||  \ |  | |  | |           |\   \  /   / 

| (----| |__ | |_) | | |__ | \| | | |---| |----\ \/ / \ \ | __| | / | __| | . | | | | | _ _/
.----) | | | | |\ ----.| | | |\ | | | | | | |
|/ ||| | `.____||__||_| \| || || |__|

News and tutorials at http://www.serenity-bdd.info
Documentation at https://wakaleo.gitbooks.io/the-serenity-book/content/
Join the Serenity Community on Rocket Chat at https://serenity-bdd.rocket.chat
Serenity BDD Support and Training at http://serenity-bdd.info/#/trainingandsupport
Learn Serenity BDD online at http://serenity-dojo.com

2019-03-06 11:51:20.381 [main] DEBUG n.thucydides.core.steps.StepEventBus#testSuiteStarted(line:243) - Test suite started for story net.thucydides.core.model.Story@45b4913 2019-03-06 11:51:20.397 [main] INFO n.t.c.steps.ConsoleLoggingListener#testSuiteStarted(line:246) - Test Suite Started: Run Bridge Sailing Schedule functions 2019-03-06 11:51:20.600 [main] INFO n.t.c.steps.ConsoleLoggingListener#testStarted(line:263) -


| | __/ __| | / | |/ \ | _ | _| \ | | | | \ \ | | _ \ | | / \ | |) || | | | | | | | | | | | ) || | ) || |/ | < | | | || || | || ||/ || |____/ |// __| _|| |_|____/

TEST STARTED: User loads a Service level Sailing Schedule -------------------------------------------------------------------(run-bridge-sailing-schedule-functions;user-loads-a-service-level-sailing-schedule) 2019-03-06 11:51:20.663 [main] DEBUG n.t.core.requirements.RootDirectory#getResourceDirectories(line:251) - Resource directories found in in 32 ms: [src\test\resources] 2019-03-06 11:51:20.678 [main] DEBUG n.t.core.requirements.RootDirectory#getResourceDirectories(line:251) - Resource directories found in C:\Users\Testcom1\git\EF-TestAutomation in 15 ms: [C:\Users\Testcom1\git\EF-TestAutomation\src\test\resources] 2019-03-06 11:51:20.772 [main] DEBUG n.t.c.r.m.cucumber.CucumberParser#loadCucumberFeatures(line:94) - Found no Cucumber 4.x.x class cucumber.runtime.model.FeatureLoader try Cucumber 2.x.x 2019-03-06 11:51:20.819 [main] INFO n.t.c.steps.ConsoleLoggingListener#testPending(line:467) - TEST PENDING 2019-03-06 11:51:20.834 [main] INFO n.t.c.steps.ConsoleLoggingListener#logPending(line:369) -


/ / | _| / __| | | | | \ | | _ | \ | |/ | ()__ / / | | | _| _ \ | | | |) | | | | | | | | || | | | _ |___/ / | | | | ) || | | /| || |\ | || | || |\ | || | () // || ||/ || || ||| \|/__|| _|\|

TEST PENDING: User loads a Service level Sailing Schedule

2019-03-06 11:51:20.913 [main] DEBUG n.t.core.reports.ReportService#getDefaultReporters(line:221) - Reporting formats: [JSON, HTML] 2019-03-06 11:51:20.928 [main] DEBUG n.t.core.reports.ReportService#getDefaultReporters(line:225) - Found reporter: net.thucydides.core.reports.xml.XMLTestOutcomeReporter@64dafeed(format = Optional[XML]) 2019-03-06 11:51:20.928 [main] DEBUG n.t.core.reports.ReportService#getDefaultReporters(line:225) - Found reporter: net.thucydides.core.reports.json.JSONTestOutcomeReporter@388ba540(format = Optional[JSON]) 2019-03-06 11:51:20.928 [main] DEBUG n.t.core.reports.ReportService#getDefaultReporters(line:227) - Registering reporter: net.thucydides.core.reports.json.JSONTestOutcomeReporter@388ba540 2019-03-06 11:51:21.147 [main] DEBUG n.t.core.reports.ReportService#getDefaultReporters(line:225) - Found reporter: net.thucydides.core.reports.html.HtmlAcceptanceTestReporter@7651218e(format = Optional[HTML]) 2019-03-06 11:51:21.147 [main] DEBUG n.t.core.reports.ReportService#getDefaultReporters(line:227) - Registering reporter: net.thucydides.core.reports.html.HtmlAcceptanceTestReporter@7651218e 2019-03-06 11:51:21.162 [main] DEBUG n.t.core.reports.ReportService#getDefaultFullReporters(line:258) - Reporting formats: [JSON, HTML] 2019-03-06 11:51:21.209 [main] DEBUG n.t.core.reports.ReportService#generateReportsFor(line:163) - Generating reports for 1 test outcomes using: net.thucydides.core.reports.json.JSONTestOutcomeReporter@388ba540 2019-03-06 11:51:21.209 [main] DEBUG n.t.c.r.j.JUnitXMLOutcomeReporter#generateReportsFor(line:37) - GENERATING JUNIT REPORTS 2019-03-06 11:51:21.225 [pool-1-thread-1] DEBUG n.t.core.reports.ReportService#lambda$generateReportsFor$0(line:174) - Processing test outcome Run Bridge Sailing Schedule functions:User loads a Service level Sailing Schedule 2019-03-06 11:51:21.225 [pool-1-thread-1] DEBUG n.t.core.reports.ReportService#generateReportFor(line:237) - net.thucydides.core.reports.json.JSONTestOutcomeReporter@388ba540: Generating report for test outcome: Run Bridge Sailing Schedule functions:User loads a Service level Sailing Schedule 2019-03-06 11:51:21.537 [pool-1-thread-1] DEBUG n.t.c.r.json.JSONTestOutcomeReporter#generateReportFor(line:57) - Generating JSON report for User loads a Service level Sailing Schedule to file C:\Users\Testcom1\git\EF-TestAutomation\target\site\serenity\26f5461f64d28bac24956058d817251b8d94374cc3ca305a2a356289cad5937c.json (using temp file C:\Users\Testcom1\git\EF-TestAutomation\target\site\serenity\26f5461f64d28bac24956058d817251b8d94374cc3ca305a2a356289cad5937c.jsonfead6373-cf38-4423-8888-ea7cb6f4e35e) 2019-03-06 11:51:21.577 [pool-1-thread-1] DEBUG n.t.core.reports.ReportService#lambda$generateReportsFor$0(line:176) - Processing test outcome Run Bridge Sailing Schedule functions:User loads a Service level Sailing Schedule done 2019-03-06 11:51:21.577 [main] DEBUG n.t.core.reports.ReportService#generateReportsFor(line:182) - Shutting down executor service 2019-03-06 11:51:21.577 [main] DEBUG n.t.core.reports.ReportService#generateReportsFor(line:186) - Reports generated in: 368 ms 2019-03-06 11:51:21.577 [main] DEBUG n.t.core.reports.ReportService#generateReportsFor(line:163) - Generating reports for 1 test outcomes using: net.thucydides.core.reports.html.HtmlAcceptanceTestReporter@7651218e 2019-03-06 11:51:21.577 [main] DEBUG n.t.c.r.j.JUnitXMLOutcomeReporter#generateReportsFor(line:37) - GENERATING JUNIT REPORTS 2019-03-06 11:51:21.577 [pool-2-thread-1] DEBUG n.t.core.reports.ReportService#lambda$generateReportsFor$0(line:174) - Processing test outcome Run Bridge Sailing Schedule functions:User loads a Service level Sailing Schedule 2019-03-06 11:51:21.577 [pool-2-thread-1] DEBUG n.t.core.reports.ReportService#generateReportFor(line:237) - net.thucydides.core.reports.html.HtmlAcceptanceTestReporter@7651218e: Generating report for test outcome: Run Bridge Sailing Schedule functions:User loads a Service level Sailing Schedule 2019-03-06 11:51:21.577 [pool-2-thread-1] DEBUG n.t.c.r.h.HtmlAcceptanceTestReporter#generateReportFor(line:99) - GENERATE TEST OUTCOME REPORT FOR User loads a Service level Sailing Schedule in 26f5461f64d28bac24956058d817251b8d94374cc3ca305a2a356289cad5937c 2019-03-06 11:51:21.624 [pool-2-thread-1] DEBUG n.t.c.r.m.cucumber.CucumberParser#loadCucumberFeatures(line:94) - Found no Cucumber 4.x.x class cucumber.runtime.model.FeatureLoader try Cucumber 2.x.x 2019-03-06 11:51:21.624 [pool-2-thread-1] DEBUG n.t.c.r.RequirementsTagProvider#getRequirements(line:44) - Requirements found:[Requirement{name='Bridge application', type='capability' parent = 'null', cardNumber='null'}] 2019-03-06 11:51:21.640 [pool-2-thread-1] DEBUG n.t.c.r.BaseRequirementsService#getAncestorRequirementsFor(line:93) - Requirement found for test outcome User loads a Service level Sailing Schedule-[]: Optional[Requirement{name='Run Bridge Sailing Schedule functions', type='feature' parent = 'Bridge application', cardNumber='null'}] 2019-03-06 11:51:21.640 [pool-2-thread-1] DEBUG n.t.c.r.BaseRequirementsService#getAncestorRequirementsFor(line:93) - Requirement found for test outcome User loads a Service level Sailing Schedule-[]: Optional[Requirement{name='Run Bridge Sailing Schedule functions', type='feature' parent = 'Bridge application', cardNumber='null'}] 2019-03-06 11:51:21.796 [pool-2-thread-1] DEBUG n.t.c.r.h.HtmlAcceptanceTestReporter#generateReportFor(line:117) - GENERATING HTML REPORT FOR Run Bridge Sailing Schedule functions:User loads a Service level Sailing Schedule in 26f5461f64d28bac24956058d817251b8d94374cc3ca305a2a356289cad5937c.html in directory target\site\serenity
2019-03-06 11:51:21.796 [pool-2-thread-1] DEBUG n.t.c.r.h.HtmlAcceptanceTestReporter#generateReportPage(line:134) - Generating report in 26f5461f64d28bac24956058d817251b8d94374cc3ca305a2a356289cad5937c.html 2019-03-06 11:51:22.702 [pool-2-thread-1] DEBUG n.t.c.r.h.HtmlAcceptanceTestReporter#generateReportPage(line:142) - Generated report 26f5461f64d28bac24956058d817251b8d94374cc3ca305a2a356289cad5937c.html in 906 ms 2019-03-06 11:51:22.713 [pool-2-thread-1] DEBUG n.t.core.reports.ReportService#lambda$generateReportsFor$0(line:176) - Processing test outcome Run Bridge Sailing Schedule functions:User loads a Service level Sailing Schedule done 2019-03-06 11:51:22.714 [main] DEBUG n.t.core.reports.ReportService#generateReportsFor(line:182) - Shutting down executor service 2019-03-06 11:51:22.715 [main] DEBUG n.t.core.reports.ReportService#generateReportsFor(line:186) - Reports generated in: 1138 ms

1 Scenarios (1 undefined) 3 Steps (3 undefined) 0m0.664s

You can implement missing steps with the snippets below:

@Given("^a 'SysAdmin' logged in Bridge$") public void a_SysAdmin_logged_in_Bridge() { // Write code here that turns the phrase above into concrete actions throw new PendingException(); }

@When("^he loads 'SAAH' service in Sailing Schedule$") public void he_loads_SAAH_service_in_Sailing_Schedule() { // Write code here that turns the phrase above into concrete actions throw new PendingException(); }

@Then("^the Sailing Schedule loads successfully$") public void the_Sailing_Schedule_loads_successfully() { // Write code here that turns the phrase above into concrete actions throw new PendingException(); }

POM:

4.0.0 BridgeAutomation BridgeAutomation 0.0.1-SNAPSHOT BridgeAutomation BridgeAutomation UTF-8 2.0.40 1.9.31 3.141.59 1.2.3 4.12 0.2.0-1 org.seleniumhq.selenium selenium-java ${selenium.version} net.serenity-bdd serenity-core ${serenity.version} net.serenity-bdd serenity-junit ${serenity.version} test net.serenity-bdd serenity-cucumber ${serenity.cucumber.version} test junit junit ${junit.version} test ch.qos.logback logback-classic ${ch.qos.logback.version} net.serenity-bdd serenity-screenplay ${serenity.version} test com.github.2gis.winium winium-elements-desktop ${com.github.2gis.winium.version} org.apache.maven.plugins maven-surefire-plugin 2.22.1 maven-failsafe-plugin 2.19.1 **/*Test.java **/Test*.java **/*TestSuite.java **/When*.java -Xmx512m integration-test verify net.serenity-bdd.maven.plugins serenity-maven-plugin ${serenity.version} serenity-reports post-integration-test aggregate
wakaleo commented 5 years ago

See https://github.com/serenity-bdd/serenity-cucumber-starter or https://github.com/serenity-bdd/serenity-cucumber4-starter

bryanvaldellon commented 5 years ago

See https://github.com/serenity-bdd/serenity-cucumber-starter or https://github.com/serenity-bdd/serenity-cucumber4-starter

thank you for the quick response! I still got the Test Pending result on this line:

UU2019-03-06 12:38:30.807 [main] INFO n.t.c.steps.ConsoleLoggingListener#logPending(line:369) -

Console Logs:

2019-03-06 12:38:29.996 [main] INFO n.t.c.steps.ConsoleLoggingListener#logBanner(line:217) -


 _______. _______ .______       _______ .__   __.  __  .___________.____    ____ 
/       ||   ____||   _  \     |   ____||  \ |  | |  | |           |\   \  /   / 

| (----| |__ | |_) | | |__ | \| | | |---| |----\ \/ / \ \ | __| | / | __| | . | | | | | _ _/
.----) | | | | |\ ----.| | | |\ | | | | | | |
|/ ||| | `.____||__||_| \| || || |__|

News and tutorials at http://www.serenity-bdd.info
Documentation at https://wakaleo.gitbooks.io/the-serenity-book/content/
Join the Serenity Community on Rocket Chat at https://serenity-bdd.rocket.chat
Serenity BDD Support and Training at http://serenity-bdd.info/#/trainingandsupport
Learn Serenity BDD online at http://serenity-dojo.com

2019-03-06 12:38:30.012 [main] DEBUG n.thucydides.core.steps.StepEventBus#testSuiteStarted(line:243) - Test suite started for story net.thucydides.core.model.Story@396896ca 2019-03-06 12:38:30.012 [main] INFO n.t.c.steps.ConsoleLoggingListener#testSuiteStarted(line:246) - Test Suite Started: Run Bridge Sailing Schedule functions 2019-03-06 12:38:30.654 [main] INFO n.t.c.steps.ConsoleLoggingListener#testStarted(line:263) -


| | __/ __| | / | |/ \ | _ | _| \ | | | | \ \ | | _ \ | | / \ | |) || | | | | | | | | | | | ) || | ) || |/ | < | | | || || | || ||/ || |____/ |// __| _|| |_|____/

TEST STARTED: User loads a Service level Sailing Schedule -------------------------------------------------------------------(run-bridge-sailing-schedule-functions;user-loads-a-service-level-sailing-schedule) 2019-03-06 12:38:30.685 [main] DEBUG n.t.core.requirements.RootDirectory#getResourceDirectories(line:251) - Resource directories found in in 16 ms: [src\test\resources] 2019-03-06 12:38:30.701 [main] DEBUG n.t.core.requirements.RootDirectory#getResourceDirectories(line:251) - Resource directories found in C:\Users\Testcom1\git\EF-TestAutomation in 0 ms: [C:\Users\Testcom1\git\EF-TestAutomation\src\test\resources] U2019-03-06 12:38:30.770 [main] INFO n.t.c.steps.ConsoleLoggingListener#testPending(line:467) - TEST PENDING UU2019-03-06 12:38:30.807 [main] INFO n.t.c.steps.ConsoleLoggingListener#logPending(line:369) -


/ / | _| / __| | | | | \ | | _ | \ | |/ | ()__ / / | | | _| _ \ | | | |) | | | | | | | | || | | | _ |___/ / | | | | ) || | | /| || |\ | || | || |\ | || | () // || ||/ || || ||| \|/__|| _|\|

TEST PENDING: User loads a Service level Sailing Schedule

Undefined scenarios: features/BridgeApplication/bridgeSailingSchedule.feature:3 # User loads a Service level Sailing Schedule

1 Scenarios (1 undefined) 3 Steps (3 undefined) 0m0.976s

You can implement missing steps with the snippets below:

@Given("a {string} logged in Bridge") public void a_logged_in_Bridge(String string) { // Write code here that turns the phrase above into concrete actions throw new cucumber.api.PendingException(); }

@When("he loads {string} service in Sailing Schedule") public void he_loads_service_in_Sailing_Schedule(String string) { // Write code here that turns the phrase above into concrete actions throw new cucumber.api.PendingException(); }

@Then("the Sailing Schedule loads successfully") public void the_Sailing_Schedule_loads_successfully() { // Write code here that turns the phrase above into concrete actions throw new cucumber.api.PendingException(); }

2019-03-06 12:38:30.839 [main] DEBUG n.t.core.reports.ReportService#getDefaultReporters(line:221) - Reporting formats: [JSON, HTML] 2019-03-06 12:38:30.854 [main] DEBUG n.t.core.reports.ReportService#getDefaultReporters(line:225) - Found reporter: net.thucydides.core.reports.xml.XMLTestOutcomeReporter@7bc10d84(format = Optional[XML]) 2019-03-06 12:38:30.854 [main] DEBUG n.t.core.reports.ReportService#getDefaultReporters(line:225) - Found reporter: net.thucydides.core.reports.json.JSONTestOutcomeReporter@275fe372(format = Optional[JSON]) 2019-03-06 12:38:30.854 [main] DEBUG n.t.core.reports.ReportService#getDefaultReporters(line:227) - Registering reporter: net.thucydides.core.reports.json.JSONTestOutcomeReporter@275fe372 2019-03-06 12:38:30.986 [main] DEBUG n.t.core.reports.ReportService#getDefaultReporters(line:225) - Found reporter: net.thucydides.core.reports.html.HtmlAcceptanceTestReporter@117e0fe5(format = Optional[HTML]) 2019-03-06 12:38:30.986 [main] DEBUG n.t.core.reports.ReportService#getDefaultReporters(line:227) - Registering reporter: net.thucydides.core.reports.html.HtmlAcceptanceTestReporter@117e0fe5 2019-03-06 12:38:30.986 [main] DEBUG n.t.core.reports.ReportService#getDefaultFullReporters(line:258) - Reporting formats: [JSON, HTML] 2019-03-06 12:38:31.070 [main] DEBUG n.t.core.reports.ReportService#generateReportsFor(line:163) - Generating reports for 1 test outcomes using: net.thucydides.core.reports.json.JSONTestOutcomeReporter@275fe372 2019-03-06 12:38:31.085 [main] DEBUG n.t.c.r.j.JUnitXMLOutcomeReporter#generateReportsFor(line:37) - GENERATING JUNIT REPORTS 2019-03-06 12:38:31.085 [pool-1-thread-1] DEBUG n.t.core.reports.ReportService#lambda$generateReportsFor$0(line:174) - Processing test outcome Run Bridge Sailing Schedule functions:User loads a Service level Sailing Schedule 2019-03-06 12:38:31.085 [pool-1-thread-1] DEBUG n.t.core.reports.ReportService#generateReportFor(line:237) - net.thucydides.core.reports.json.JSONTestOutcomeReporter@275fe372: Generating report for test outcome: Run Bridge Sailing Schedule functions:User loads a Service level Sailing Schedule 2019-03-06 12:38:31.355 [pool-1-thread-1] DEBUG n.t.c.r.json.JSONTestOutcomeReporter#generateReportFor(line:57) - Generating JSON report for User loads a Service level Sailing Schedule to file C:\Users\Testcom1\git\EF-TestAutomation\target\site\serenity\26f5461f64d28bac24956058d817251b8d94374cc3ca305a2a356289cad5937c.json (using temp file C:\Users\Testcom1\git\EF-TestAutomation\target\site\serenity\26f5461f64d28bac24956058d817251b8d94374cc3ca305a2a356289cad5937c.json6a9031bc-fc73-4adb-b8ff-03d898509787) 2019-03-06 12:38:31.402 [pool-1-thread-1] DEBUG n.t.core.reports.ReportService#lambda$generateReportsFor$0(line:176) - Processing test outcome Run Bridge Sailing Schedule functions:User loads a Service level Sailing Schedule done 2019-03-06 12:38:31.402 [main] DEBUG n.t.core.reports.ReportService#generateReportsFor(line:182) - Shutting down executor service 2019-03-06 12:38:31.402 [main] DEBUG n.t.core.reports.ReportService#generateReportsFor(line:186) - Reports generated in: 319 ms 2019-03-06 12:38:31.402 [main] DEBUG n.t.core.reports.ReportService#generateReportsFor(line:163) - Generating reports for 1 test outcomes using: net.thucydides.core.reports.html.HtmlAcceptanceTestReporter@117e0fe5 2019-03-06 12:38:31.402 [main] DEBUG n.t.c.r.j.JUnitXMLOutcomeReporter#generateReportsFor(line:37) - GENERATING JUNIT REPORTS 2019-03-06 12:38:31.402 [pool-2-thread-1] DEBUG n.t.core.reports.ReportService#lambda$generateReportsFor$0(line:174) - Processing test outcome Run Bridge Sailing Schedule functions:User loads a Service level Sailing Schedule 2019-03-06 12:38:31.402 [pool-2-thread-1] DEBUG n.t.core.reports.ReportService#generateReportFor(line:237) - net.thucydides.core.reports.html.HtmlAcceptanceTestReporter@117e0fe5: Generating report for test outcome: Run Bridge Sailing Schedule functions:User loads a Service level Sailing Schedule 2019-03-06 12:38:31.409 [pool-2-thread-1] DEBUG n.t.c.r.h.HtmlAcceptanceTestReporter#generateReportFor(line:99) - GENERATE TEST OUTCOME REPORT FOR User loads a Service level Sailing Schedule in 26f5461f64d28bac24956058d817251b8d94374cc3ca305a2a356289cad5937c 2019-03-06 12:38:31.440 [pool-2-thread-1] DEBUG n.t.c.r.RequirementsTagProvider#getRequirements(line:44) - Requirements found:[Requirement{name='Bridge application', type='capability' parent = 'null', cardNumber='null'}] 2019-03-06 12:38:31.456 [pool-2-thread-1] DEBUG n.t.c.r.BaseRequirementsService#getAncestorRequirementsFor(line:93) - Requirement found for test outcome User loads a Service level Sailing Schedule-[]: Optional[Requirement{name='Run Bridge Sailing Schedule functions', type='feature' parent = 'Bridge application', cardNumber='null'}] 2019-03-06 12:38:31.456 [pool-2-thread-1] DEBUG n.t.c.r.BaseRequirementsService#getAncestorRequirementsFor(line:93) - Requirement found for test outcome User loads a Service level Sailing Schedule-[]: Optional[Requirement{name='Run Bridge Sailing Schedule functions', type='feature' parent = 'Bridge application', cardNumber='null'}] 2019-03-06 12:38:31.625 [pool-2-thread-1] DEBUG n.t.c.r.h.HtmlAcceptanceTestReporter#generateReportFor(line:117) - GENERATING HTML REPORT FOR Run Bridge Sailing Schedule functions:User loads a Service level Sailing Schedule in 26f5461f64d28bac24956058d817251b8d94374cc3ca305a2a356289cad5937c.html in directory target\site\serenity
2019-03-06 12:38:31.625 [pool-2-thread-1] DEBUG n.t.c.r.h.HtmlAcceptanceTestReporter#generateReportPage(line:134) - Generating report in 26f5461f64d28bac24956058d817251b8d94374cc3ca305a2a356289cad5937c.html 2019-03-06 12:38:32.475 [pool-2-thread-1] DEBUG n.t.c.r.h.HtmlAcceptanceTestReporter#generateReportPage(line:142) - Generated report 26f5461f64d28bac24956058d817251b8d94374cc3ca305a2a356289cad5937c.html in 850 ms 2019-03-06 12:38:32.482 [pool-2-thread-1] DEBUG n.t.core.reports.ReportService#lambda$generateReportsFor$0(line:176) - Processing test outcome Run Bridge Sailing Schedule functions:User loads a Service level Sailing Schedule done 2019-03-06 12:38:32.482 [main] DEBUG n.t.core.reports.ReportService#generateReportsFor(line:182) - Shutting down executor service 2019-03-06 12:38:32.483 [main] DEBUG n.t.core.reports.ReportService#generateReportsFor(line:186) - Reports generated in: 1081 ms

bryanvaldellon commented 5 years ago

Here's my sample feature file.

Feature: Run Bridge Sailing Schedule functions

Scenario: User loads a Service level Sailing Schedule
    Given a 'SysAdmin' logged in Bridge
    When he loads 'SAAH' service in Sailing Schedule 
    Then the Sailing Schedule loads successfully

and I only have SOUT returns on my stepDefinitions.

@Given("^. '(.)' logged in Bridge$") public void user_bridge_login(String userType) { System.out.println("test run"); }

@When("^.loads '(.)' service in Sailing Schedule$") public void load_ss_service(String service) { System.out.println("do nothing for now"); }

@Then("^.*Sailing Schedule loads successfully$")
public void validate_load_service() {
    System.out.println("do nothing for now");
}
bryanvaldellon commented 5 years ago

It works now, I update the glue code. thank you!