mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
removed extra, unnecessary run in texttest_rig.py
This commit is contained in:
parent
c3692a1e82
commit
86bcfd62a7
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
"""
|
"""
|
||||||
This script uses Gradle to execute the TexttestFixture.
|
This script uses sbt to execute the TexttestFixture.
|
||||||
It is designed to be used by TextTest and specified in the file 'texttests/config.gr' in this repo.
|
It is designed to be used by TextTest and specified in the file 'texttests/config.gr' in this repo.
|
||||||
It is more convenient for TextTest to use since Gradle needs
|
It is more convenient for TextTest to use since Gradle needs
|
||||||
several arguments in addition to the one the TextTest fixture needs.
|
several arguments in addition to the one the TextTest fixture needs.
|
||||||
@ -11,4 +11,4 @@ import sys
|
|||||||
|
|
||||||
args = " ".join(sys.argv[1:])
|
args = " ".join(sys.argv[1:])
|
||||||
TEXTTEST_HOME = os.environ.get("TEXTTEST_HOME", os.getcwd())
|
TEXTTEST_HOME = os.environ.get("TEXTTEST_HOME", os.getcwd())
|
||||||
subprocess.run(f"""(cd {TEXTTEST_HOME}/scala/; sbt run "Test / runMain com.gildedrose.TexttestFixture {args}") """, shell=True)
|
subprocess.run(f"""(cd {TEXTTEST_HOME}/scala/; sbt "Test / runMain com.gildedrose.TexttestFixture {args}") """, shell=True)
|
||||||
|
|||||||
@ -4,36 +4,13 @@
|
|||||||
[info] loading project definition from /Users/rco/Developer/katas/GildedRose-Refactoring-Kata/scala/project/project
|
[info] loading project definition from /Users/rco/Developer/katas/GildedRose-Refactoring-Kata/scala/project/project
|
||||||
[info] loading project definition from /Users/rco/Developer/katas/GildedRose-Refactoring-Kata/scala/project
|
[info] loading project definition from /Users/rco/Developer/katas/GildedRose-Refactoring-Kata/scala/project
|
||||||
[success] Generated .bloop/scala-build.json
|
[success] Generated .bloop/scala-build.json
|
||||||
[success] Total time: 1 s, completed 26.09.2025, 20:01:30
|
[success] Total time: 1 s, completed 26.09.2025, 20:16:59
|
||||||
[info] loading settings for project root from build.sbt...
|
[info] loading settings for project root from build.sbt...
|
||||||
[info] set current project to GildedRose (in build file:/Users/rco/Developer/katas/GildedRose-Refactoring-Kata/scala/)
|
[info] set current project to GildedRose (in build file:/Users/rco/Developer/katas/GildedRose-Refactoring-Kata/scala/)
|
||||||
[info] running com.gildedrose.Main
|
[info] compiling 3 Scala sources to /Users/rco/Developer/katas/GildedRose-Refactoring-Kata/scala/target/scala-3.7.3/classes ...
|
||||||
OMGHAI!
|
[info] done compiling
|
||||||
-------- day 0 --------
|
[info] compiling 2 Scala sources to /Users/rco/Developer/katas/GildedRose-Refactoring-Kata/scala/target/scala-3.7.3/test-classes ...
|
||||||
name, sellIn, quality
|
[info] done compiling
|
||||||
+5 Dexterity Vest, 10, 20
|
|
||||||
Aged Brie, 2, 0
|
|
||||||
Elixir of the Mongoose, 5, 7
|
|
||||||
Sulfuras, Hand of Ragnaros, 0, 80
|
|
||||||
Sulfuras, Hand of Ragnaros, -1, 80
|
|
||||||
Backstage passes to a TAFKAL80ETC concert, 15, 20
|
|
||||||
Backstage passes to a TAFKAL80ETC concert, 10, 49
|
|
||||||
Backstage passes to a TAFKAL80ETC concert, 5, 49
|
|
||||||
Conjured Mana Cake, 3, 6
|
|
||||||
|
|
||||||
-------- day 1 --------
|
|
||||||
name, sellIn, quality
|
|
||||||
+5 Dexterity Vest, 9, 19
|
|
||||||
Aged Brie, 1, 1
|
|
||||||
Elixir of the Mongoose, 4, 6
|
|
||||||
Sulfuras, Hand of Ragnaros, 0, 80
|
|
||||||
Sulfuras, Hand of Ragnaros, -1, 80
|
|
||||||
Backstage passes to a TAFKAL80ETC concert, 14, 21
|
|
||||||
Backstage passes to a TAFKAL80ETC concert, 9, 50
|
|
||||||
Backstage passes to a TAFKAL80ETC concert, 4, 50
|
|
||||||
Conjured Mana Cake, 2, 5
|
|
||||||
|
|
||||||
[success] Total time: 0 s, completed 26.09.2025, 20:01:31
|
|
||||||
[info] running com.gildedrose.TexttestFixture 30
|
[info] running com.gildedrose.TexttestFixture 30
|
||||||
OMGHAI!
|
OMGHAI!
|
||||||
-------- day 0 --------
|
-------- day 0 --------
|
||||||
@ -408,4 +385,4 @@ Backstage passes to a TAFKAL80ETC concert, -20, 0
|
|||||||
Backstage passes to a TAFKAL80ETC concert, -25, 0
|
Backstage passes to a TAFKAL80ETC concert, -25, 0
|
||||||
Conjured Mana Cake, -27, 0
|
Conjured Mana Cake, -27, 0
|
||||||
|
|
||||||
[success] Total time: 0 s, completed 26.09.2025, 20:01:31
|
[success] Total time: 2 s, completed 26.09.2025, 20:17:01
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user