mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-09 03:31:28 +00:00
upgrade dependencies, run cucumber as unit test
This commit is contained in:
parent
43cb112a3b
commit
f68dbcfdcf
@ -10,9 +10,11 @@ targetCompatibility = '21'
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'org.codehaus.groovy:groovy:3.0.8'
|
implementation 'org.codehaus.groovy:groovy:3.0.8'
|
||||||
testImplementation 'io.cucumber:cucumber-java:6.10.4'
|
testImplementation 'io.cucumber:cucumber-java:7.21.1'
|
||||||
testImplementation 'io.cucumber:cucumber-junit:6.10.4'
|
testImplementation 'io.cucumber:cucumber-junit:7.21.1'
|
||||||
testImplementation 'junit:junit:4.13.2'
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.3'
|
||||||
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.3'
|
||||||
|
testImplementation 'org.junit.vintage:junit-vintage-engine:5.9.3'
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
|
|||||||
@ -5,7 +5,8 @@ import io.cucumber.junit.CucumberOptions;
|
|||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
@RunWith(Cucumber.class)
|
@RunWith(Cucumber.class)
|
||||||
@CucumberOptions()
|
@CucumberOptions(plugin = {"pretty", "html:target/cucumber-report.html"},
|
||||||
|
features = {"src/test/resources"})
|
||||||
public class RunCucumberTest {
|
public class RunCucumberTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -2,6 +2,6 @@ Feature: Gilded Rose quality
|
|||||||
I want to know if the quality is updated properly
|
I want to know if the quality is updated properly
|
||||||
|
|
||||||
Scenario: Checking foo
|
Scenario: Checking foo
|
||||||
Given The item as "fixme"
|
Given The item as "foo"
|
||||||
When I update the quality
|
When I update the quality
|
||||||
Then I should get item as "foo"
|
Then I should get item as "foo"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user