mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-17 11:25:04 +00:00
Fixed texttests for Kotlin
This commit is contained in:
1 parent
c50c330c78
commit
8588b6fcc4
5 files changed
+50
-2
No files matched your search
@@ -0,0 +1,23 @@
|
||||
# Gilded Rose starting position in Kotlin
|
||||
|
||||
## Run the Text Fixture from Command-Line
|
||||
|
||||
```
|
||||
./gradlew -q text
|
||||
```
|
||||
|
||||
### Specify Number of Days
|
||||
|
||||
For e.g. 10 days:
|
||||
|
||||
```
|
||||
./gradlew run --args 10
|
||||
```
|
||||
|
||||
You should make sure the gradle commands shown above work when you execute them in a terminal before trying to use TextTest (see below).
|
||||
|
||||
|
||||
## Run the TextTest approval test that comes with this project
|
||||
|
||||
There are instructions in the [TextTest Readme](../texttests/README.md) for setting up TextTest. What's unusual for the Java version is there are two executables listed in [config.gr](../texttests/config.gr) for Java. One uses Gradle wrapped in a python script, the other relies on your CLASSPATH being set correctly in [environment.gr](../texttests/environment.gr).
|
||||
|
||||
Reference in new issue
Block a user