Changes between Version 6 and Version 7 of BluePrint/XsltTesting


Ignore:
Timestamp:
06/06/14 11:21:34 (11 years ago)
Author:
Pat Tressel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/XsltTesting

    v6 v7  
    99=== Test file locations ===
    1010
    11 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.
     11The test helper can run as a Python unit test, under control of eden/modules/unit_tests/suite.py.
     12
     13The user can specify tuples of (xsl script, input file, golden file, option1 = value1, ...) where the paths are given relative to the eden root directory, and options might be used to tell the test helper such things as whether the order of repeated elements is significant.  A list of tuples would constitute the full instructions to the test helper.
     14
     15Where should the tuples be placed?  They may as well go in a single file, in a directory under eden/modules/unit_tests.
     16
     17In 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.
    1218
    1319=== Verifying results ===