GildedRose-Refactoring-Kata/xslt
2018-12-07 23:53:54 +01:00
..
xsltunit-0.2 Port to XSLT 2018-12-07 23:43:31 +01:00
.gitignore Port to XSLT 2018-12-07 23:43:31 +01:00
build.xml Port to XSLT 2018-12-07 23:43:31 +01:00
gilded_rose.dtd Port to XSLT 2018-12-07 23:43:31 +01:00
README.md Description how to run the XSLT. 2018-12-07 23:53:54 +01:00
texttest_fixture.xml Port to XSLT 2018-12-07 23:43:31 +01:00
tst_update_quality.xsl Port to XSLT 2018-12-07 23:43:31 +01:00
update_quality.xsl Port to XSLT 2018-12-07 23:43:31 +01:00

XSLT port of the Gilded-Rose Kata

This is a XSLT 1.0 port of the Gilded-Rose-Kata.

Building and Running

  • Apache Ant's XSLT task is used to run the transformations.
  • update_quality.xsl contains the Gilded Rose logic.
  • Run Ant in the current folder to transform all files.
  • texttest_fixture.xml is transformed into texttest_fixture.next_day.xml with updated values.

Unit Test

xsltunit is a implementation of xUnit in XSLT.

  • tst_update_quality.xslis the the test (stylesheet).
  • Run Ant in the current folder to run the tests.
  • update_quality.test_result.xml contains the results and update_quality.test_result.html is a readable report.