the test cases pass now at least

This commit is contained in:
Dave Cowden
2013-04-16 22:29:06 -04:00
parent 3f7d38cdeb
commit 26cd0a443d
17 changed files with 1576 additions and 133 deletions

16
runtests.py Normal file
View File

@ -0,0 +1,16 @@
import sys
from tests import *
import cadquery
import unittest
#if you are on python 2.7, you can use -m uniitest discover.
#but this is required for python 2.6.6 on windows. FreeCAD0.12 will not load
#on py 2.7.x on win
suite = unittest.TestSuite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestCadObjects.TestCadObjects))
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestWorkplanes.TestWorkplanes))
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestCQSelectors.TestCQSelectors))
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestCadQuery.TestCadQuery))
unittest.TextTestRunner().run(suite)