Skip to content
Snippets Groups Projects
Commit d4da00f5 authored by MarvinKlemp's avatar MarvinKlemp
Browse files

pre

parent e4dbe764
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="TEST" name="lib" level="project" />
</component>
</module>
\ No newline at end of file
package car;
public class RentCarStepdefs {
}
package car;
import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;
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
Feature: Car Rent
Scenario: Renting a Car works if car is available
Given There is a car available to rent
When Marvin took a test drive
And Marvin later decides to rent the car
Then Marvin should get an invoice
Scenario: Only one person can rent a car
Given There is a car available to rent
When Marvin took a test drive
And Patrick took a test drive
And Marvin later decides to rent the car
And Patrick later decides to rent the car
Then Patrick wont be able to rent the car
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment