[Laszlo-dev] For Review: Change 41338 Summary: Extending and solidifying new unit test framework.
Benjamin Shine
ben at laszlosystems.com
Mon Apr 10 17:35:57 EDT 2006
Henry: This should be usable at this point for writing unit tests for
the LFC. "TestCase"s are discovered in the files named in test/lzunit/
testpaths-rhino.txt as functions named test_foo_bar(). test_foo_*
tests are treated as a group for reporting purposes, in a lame
imitation of TestSuite. The build fails on error. Output goes to stdout.
Please try it and let me know what you think.
It only discovers and executes the tests in the rhino runtime right now.
Change 41338 by ben at ben-g5 on 2006/04/10 12:38:19 *pending*
Summary: Extending and solidifying new unit test framework.
New Features: Functions named test* are automatically discovered and
run.
Failed assertions fail the build.
Moved jum include files into lps/utils/jum.
Made jum output to the console more pithy.
* Currently does *NOT* work as a debug harness in the browser.
Cleaned up directory structure a bit.
Bugs Fixed: LPP-1906, Server side unit test scripts
Technical Reviewer: hminsky (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
ant runlzunit-rhino invokes all the tests in test/lzunit/testpaths-
rhino.
Release Notes:
Details:
Tests:
Affected files ...
... //depot/lps-legals/build-tools/runjum.sh#2 edit
... //depot/lps-legals/build.xml#9 edit
... //depot/lps-legals/jum/debugtools.lzx#3 delete
... //depot/lps-legals/jum/lfc_dhtml_includes.js#3 delete
... //depot/lps-legals/lps/components/lzunit/lzunit.lzx#5 edit
... //depot/lps-legals/lps/utils/jum/epilogue.js#1 add
... //depot/lps-legals/lps/utils/jum/jum_debug.lzx#1 add
... //depot/lps-legals/lps/utils/jum/lzjum.js#1 add
... //depot/lps-legals/test/jum/jum-lzunit.lzx#2 edit
... //depot/lps-legals/test/jum/jumtest-classinstance.lzx#2 delete
... //depot/lps-legals/test/jum/jumtest-discovery.lzx#1 add
... //depot/lps-legals/test/jum/jumtest-ids.lzx#2 delete
... //depot/lps-legals/test/jum/jumtest-scriptingids.lzx#2 edit
... //depot/lps-legals/test/lzunit/testpaths-rhino.txt#4 edit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changeset-41338.zip
Type: application/zip
Size: 56563 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20060410/cc083cef/changeset-41338-0001.zip
-------------- next part --------------
More information about the Laszlo-dev
mailing list