add integration test profile
This commit is contained in:
+1
-1
@@ -6,5 +6,5 @@ import org.junit.runner.RunWith;
|
||||
|
||||
@RunWith(Cucumber.class)
|
||||
@CucumberOptions(features = "src/test/resources")
|
||||
public class CucumberTest {
|
||||
public class CucumberIntegrationTest {
|
||||
}
|
||||
+1
-1
@@ -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");
|
||||
+1
-1
@@ -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 {
|
||||
Reference in New Issue
Block a user