Commit 4665290c authored by Guido van Rossum's avatar Guido van Rossum

Updated test procedure. Updated TO DO list.

parent e00f486a
......@@ -42,10 +42,14 @@ defaults to test/test1.xml.
Regression test
---------------
There are a number of test cases in the test subdirectory, named
test/test<number>.xml and test/test<number>.html. The Python script
./runtest.py calls driver.main() for each test case, and should print
"<file> OK" for each testcase.
There are a number of test files in the test subdirectory, named
test/input/test<number>.xml and test/input/test<number>.html. The
Python script ./runtest.py calls driver.main() for each test file, and
should print "<file> OK" for each one.
In addition, there are unit test suites in the test subdirectory;
these can be run with test/run.py. This should print a number of
testcase names, ending with a line saying "OK".
What's Here
-----------
......@@ -78,7 +82,10 @@ TO DO
- Implement on-error. Assume that the evaluation engine's evaluate()
functions raise TALESError (defined where???) on all exceptions.
- Bring DummyEngine.py up to specs.
- Reject input with TAL or METAL statements on tags whose end tag is
implied.
- Bring DummyEngine.py up to specs. (string: instead of str:, etc.)
- Finish implementing insertStructure(): attribute replacement isn't
implemented yet.
......@@ -90,10 +97,6 @@ TO DO
HTMLTALCompiler.py and XMLTALCompiler.py (or maybe shortened,
without "TAL"?)
- The HTML TAL compiler should preserve more information about the
start element, e.g. <img ismap /> should be output like that, not as
<img ismap="ismap">.
- Should we preserve case of tags and attribute names in HTML?
- Do we still need the HTML mode for TALInterpreter, which tries to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment