DOM guide: domTest: Difference between revisions
Jump to navigation
Jump to search
DomTest (capitalized to get it to sort the way we want) |
some edits and wikifying |
||
Line 1: | Line 1: | ||
domTest is | '''domTest''' is a standalone program that serves as the [[COLLADA 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 application that uses the DOM. | ||
==Building domTest== | ==Building domTest== | ||
Line 5: | Line 5: | ||
==Running domTest== | ==Running domTest== | ||
domTest is run on the command line. | domTest is run on the command line. | ||
To get a listing of the available options: | |||
domTest | |||
To run all the automated tests: | |||
domTest -all | |||
To get a listing of the individual test names of all the automated tests: | |||
domTest -printTests | |||
To run specified tests: | |||
domTest ''test1 test2'' ... | |||
[[Category:COLLADA DOM|DomTest]] | [[Category:COLLADA DOM|DomTest]] |
Latest revision as of 15:57, 8 October 2008
domTest is a standalone program that serves as the COLLADA 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 application 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.
To get a listing of the available options:
domTest
To run all the automated tests:
domTest -all
To get a listing of the individual test names of all the automated tests:
domTest -printTests
To run specified tests:
domTest test1 test2 ...