mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-13 17:49:25 +00:00
Merge pull request #382 from nitsanavni/java-text-test
Java: run text fixture from cli
This commit is contained in:
2 files changed
+20
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# Gilded Rose starting position in Java
|
||||
|
||||
## Run the Text Fixture from Command-Line
|
||||
|
||||
```
|
||||
./gradlew -q text
|
||||
```
|
||||
|
||||
### Specify Number of Days
|
||||
|
||||
For e.g. 10 days:
|
||||
|
||||
```
|
||||
./gradlew -q text --args 10
|
||||
```
|
||||
@@ -19,3 +19,8 @@ sourceCompatibility = '1.8'
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
task text(type: JavaExec) {
|
||||
main = "com.gildedrose.TexttestFixture"
|
||||
classpath = sourceSets.test.runtimeClasspath
|
||||
}
|
||||
Reference in new issue
Block a user