mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
Java: run text fixture from cli
This commit is contained in:
parent
ac8fce7557
commit
bd93f794bf
15
Java/README.md
Normal file
15
Java/README.md
Normal file
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user