Difference between revisions of "DOM guide: domTest"
(DomTest (capitalized to get it to sort the way we want)) |
|||
Line 6: | Line 6: | ||
==Running domTest== | ==Running domTest== | ||
domTest is run on the command line. Run "domTest" with no arguments to get a listing of the available options. Run "domTest -all" to run all the automated tests, or run "domTest -printTests" to get a listing of the individual test names followed by "domTest test1 test2 ..." to run the specified tests. | domTest is run on the command line. Run "domTest" with no arguments to get a listing of the available options. Run "domTest -all" to run all the automated tests, or run "domTest -printTests" to get a listing of the individual test names followed by "domTest test1 test2 ..." to run the specified tests. | ||
+ | |||
+ | [[Category:COLLADA DOM|DomTest]] |
Revision as of 02:29, 18 July 2008
domTest is the name of a standalone program that serves as the DOM's automated test suite. It exercises a good chunk of the DOM library. In addition to API testing it also functions as an example of how to configure the build settings for a client app that uses the DOM.
Building domTest
When building with make, the default is to also build domTest, so there's nothing extra to do. When building with the Visual Studio projects, simply select and build the domTest project.
Running domTest
domTest is run on the command line. Run "domTest" with no arguments to get a listing of the available options. Run "domTest -all" to run all the automated tests, or run "domTest -printTests" to get a listing of the individual test names followed by "domTest test1 test2 ..." to run the specified tests.