Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • dmakar2s/u5
  • jbaeum2s/u5
  • srosau2s/u5
  • jwittk2s/u5
  • pkaste2g/u5
  • lweime2s/u5
  • jkunke2s/u5
  • tklei12s/u5
  • kschn22s/u5
  • atuer2s/u5
  • gvan2s/u5
  • prausc2s/u5
  • archived_bheitf2s_1/u5
  • omoukh2s/u5
  • sjanow2s/u5
  • archived_taltan2s_1/u5
  • areinh2s/u5
  • archived_fklug2s_1/u5
  • mbrau12s/u5
  • lknaub2s/u5
  • mmaus2s/u5
  • gsalem2s/u5
  • mbabae2s/u5
  • archived_mpeter2s_1/u5
  • totto2s/u5
  • dnanda2s/u5
  • archived_cwagne2s_1/u5
  • sfeier2s/u5
  • archived_jhaber2s_1/u5
  • dschm62s/u5
  • toelri2s/u5
  • archived_jsasse2s_1/u5
  • jpfeif2s/u5
  • archived_mparre2s_1/u5
  • archived_jebert2s_1/u5
  • archived_fkirch2s_1/u5
36 results
Show changes
Commits on Source (1)
......@@ -7,5 +7,54 @@
<groupId>groupId</groupId>
<artifactId>u5_p</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<cucumberVersion>4.8.0</cucumberVersion>
</properties>
<dependencies>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.10.19</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-junit</artifactId>
<version>${cucumberVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-java</artifactId>
<version>${cucumberVersion}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M4</version>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>settings.properties</include>
</includes>
</resource>
</resources>
</build>
</project>
import io.cucumber.java.en.Given;
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;
public class RentCarStepdefs {
@Given("There is a car available to rent")
public void there_is_a_car_available_to_rent() {
// Write code here that turns the phrase above into concrete actions
throw new cucumber.api.PendingException();
}
@When("Marvin took a test drive")
public void marvin_took_a_test_drive() {
// Write code here that turns the phrase above into concrete actions
throw new cucumber.api.PendingException();
}
@When("Marvin later decides to rent the car")
public void marvin_later_decides_to_rent_the_car() {
// Write code here that turns the phrase above into concrete actions
throw new cucumber.api.PendingException();
}
@Then("Marvin should get an invoice")
public void marvin_should_get_an_invoice() {
// Write code here that turns the phrase above into concrete actions
throw new cucumber.api.PendingException();
}
@When("Patrick took a test drive")
public void patrick_took_a_test_drive() {
// Write code here that turns the phrase above into concrete actions
throw new cucumber.api.PendingException();
}
@When("Patrick later decides to rent the car")
public void patrick_later_decides_to_rent_the_car() {
// Write code here that turns the phrase above into concrete actions
throw new cucumber.api.PendingException();
}
@Then("Patrick wont be able to rent the car")
public void patrick_wont_be_able_to_rent_the_car() {
// Write code here that turns the phrase above into concrete actions
throw new cucumber.api.PendingException();
}
}
......@@ -5,4 +5,7 @@ import org.junit.runner.RunWith;
@RunWith(Cucumber.class)
@CucumberOptions(plugin = {"pretty"}, features={"src/test/resources/car/RentCar.feature"})
public class RunCucumberTest {
}
\ No newline at end of file