5 | | To simplify testing xsl stylesheets, and thus encourage people to provide tests, we can supply a test driver that can be called from our regular test process, and to which the user supplies just pointers to the stylesheets and their before and after files. |
| 5 | To simplify testing xsl stylesheets, and thus encourage people to provide tests, we can supply a test helper that can be called from our regular test process, and to which the user supplies just pointers to the stylesheets and their before and after files. |
| 6 | |
| 7 | == Specifics == |
| 8 | |
| 9 | The test helper can run as a Python unit test, under control of eden/modules/unit_tests/suite.py. In case people would like to add tests for other code under eden/static, we can follow the eden/static directory structure. That is, tests for stylesheets could be placed in eden/modules/unit_tests/static/formats so that, for instance, if people later want to write tests for tools, those could be placed in eden/modules/unit_tests/static/scripts/tools. |