-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
28 lines (24 loc) · 880 Bytes
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
load("gherkin_test.bzl", "gherkin_test")
java_library(
name = "java_lib",
srcs = ["src/test/java/hellocucumber/FridaySteps.java"],
deps = [
"@maven//:io_cucumber_cucumber_java",
"@maven//:io_cucumber_cucumber_junit_platform_engine",
"@maven//:org_junit_jupiter_junit_jupiter_api",
]
)
gherkin_test(
name = "friday_test",
feature_files = ["src/test/resources/hellocucumber/Friday.feature"],
run_file = "src/test/java/runfile/RunCucumberTest.java",
test_class = "runfile.RunCucumberTest",
deps = [":java_lib"],
)
gherkin_test(
name = "calculator_test",
step_definitions = ["src/test/java/hellocucumber/CalculatorSteps.java"],
feature_files = ["src/test/resources/hellocucumber/Calculator.feature"],
run_file = "src/test/java/runfile/RunCucumberTest.java",
test_class = "runfile.RunCucumberTest",
)