Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andreafrancia/gildedrose-refactoring-kata-java
GildedRose kata code (only Java)
https://github.com/andreafrancia/gildedrose-refactoring-kata-java
Last synced: about 1 month ago
JSON representation
GildedRose kata code (only Java)
- Host: GitHub
- URL: https://github.com/andreafrancia/gildedrose-refactoring-kata-java
- Owner: andreafrancia
- License: mit
- Created: 2024-04-01T12:11:51.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-01T12:15:27.000Z (10 months ago)
- Last Synced: 2024-10-16T07:55:20.424Z (3 months ago)
- Language: Java
- Size: 3.19 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Java.md
- License: license.txt
Awesome Lists containing this project
README
# Gilded Rose starting position in Java
## Run the TextTest Fixture from Command-Line
```
./gradlew -q text
```### Specify Number of Days
For e.g. 10 days:
```
./gradlew -q text --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. The first uses Gradle wrapped in a python script. Uncomment these lines to use it:
executable:${TEXTTEST_HOME}/Java/texttest_rig.py
interpreter:pythonThe other relies on your CLASSPATH being set correctly in [environment.gr](../texttests/environment.gr). Uncomment these lines to use it instead:
executable:com.gildedrose.TexttestFixture
interpreter:java