[Smtk-developers] SMTK unit-test infrastructure:

David Thompson david.thompson at kitware.com
Tue Dec 22 13:52:42 EST 2015


>> So when writing smtk mesh, I added testing macros 
>> CMake code: https://gitlab.kitware.com/cmb/smtk/blob/master/CMake/SMTKTestingMacros.cmake
>> Example usage: 
>> https://gitlab.kitware.com/cmb/smtk/blob/master/smtk/mesh/testing/cxx/CMakeLists.txt
> 
> Related: Python tests should inherit smtk.testing.TestCase. See this example:
> https://gitlab.kitware.com/cmb/smtk/blob/master/smtk/bridge/exodus/testing/python/slacReadFile.py

Also, there's a tutorial on debugging Python unit tests interactively:

http://smtk.readthedocs.org/en/latest/tutorials/debugging_python_tests/index.html

	David



More information about the Smtk-developers mailing list