Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
awa-w5d4-cucumber-tenminutetutorial
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eric Arndt
awa-w5d4-cucumber-tenminutetutorial
Commits
dcecf319
Commit
dcecf319
authored
Apr 01, 2021
by
earndt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[W5D4] (ArndtED) Adds feature step definitions
parent
42801bb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
StepDefinitions.java
...cucumber/src/test/java/hellocucumber/StepDefinitions.java
+16
-0
No files found.
hellocucumber/src/test/java/hellocucumber/StepDefinitions.java
View file @
dcecf319
...
...
@@ -7,5 +7,21 @@ import io.cucumber.java.en.When;
import
static
org
.
junit
.
Assert
.*;
public
class
StepDefinitions
{
@Given
(
"today is Sunday"
)
public
void
today_is_Sunday
()
{
// Write code here that turns the phrase above into concrete actions
throw
new
io
.
cucumber
.
java
.
PendingException
();
}
@When
(
"I ask whether it's Friday yet"
)
public
void
i_ask_whether_it_s_Friday_yet
()
{
// Write code here that turns the phrase above into concrete actions
throw
new
io
.
cucumber
.
java
.
PendingException
();
}
@Then
(
"I should be told {string}"
)
public
void
i_should_be_told
(
String
string
)
{
// Write code here that turns the phrase above into concrete actions
throw
new
io
.
cucumber
.
java
.
PendingException
();
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment