Description how to run the XSLT.

This commit is contained in:
Peter Kofler committed 2018-12-07 23:53:54 +01:00
1 parent bc75ba14a3
commit 235869c45a
1 file changed
+19
+19
View File
@@ -0,0 +1,19 @@
# 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](https://ant.apache.org/manual/Tasks/style.html) 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](http://xsltunit.org/) is a implementation of xUnit in XSLT.
* `tst_update_quality.xsl`is 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.