add integration test profile

This commit is contained in:
DOHA
2016-10-19 16:45:26 +02:00
parent 09825ca25a
commit e4f1be2daa
4 changed files with 52 additions and 6 deletions
@@ -6,5 +6,5 @@ import org.junit.runner.RunWith;
@RunWith(Cucumber.class)
@CucumberOptions(features = "src/test/resources")
public class CucumberTest {
public class CucumberIntegrationTest {
}
@@ -3,7 +3,7 @@ package com.baeldung;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.When;
public class OtherDefs extends SpringIntegrationTest {
public class OtherDefsIntegrationTest extends SpringIntegrationTest {
@When("^the client calls /baeldung$")
public void the_client_issues_POST_hello() throws Throwable {
executePost("http://localhost:8080/baeldung");
@@ -9,7 +9,7 @@ import cucumber.api.java.en.And;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
public class StepDefs extends SpringIntegrationTest {
public class StepDefsIntegrationTest extends SpringIntegrationTest {
@When("^the client calls /version$")
public void the_client_issues_GET_version() throws Throwable {