测试(Test)是软件工程中很重要的一环.CAA提供了UnitTest的可能性(mkODT).可惜我没能找到具体的例子.由于CAA的工作对象是CATPart,CATProduct等Binary文件,给结果比较带来了困难.在"Testing Your Frameworks"一文中(见CAADoc/Doc/online/CAARqcTechArticles/CAARqcOverview.htm),解释OutputRef文件夹的时候,有下面一段话:
if you want to test a program which automate some modifications on a CATIA model, you can first perform these modifications "by hand" and save the result in a file you store in the OutputRef directory, then make a comparison (in the shell) between this model and the one produced by the test program in the Output/$OS directory.