/TD_Unit_Test_Launcher

Launch Touch Designer from the command line, run python unittest.TestCase's on startup, then exit.

Primary LanguagePython

Touch Designer Unit-Test-Launcher.

Launch Touch Designer from the command-line or terminal, trigger python unittest scripts to run on startup, and close with optional callback on exit.

Getting Started

Clone or download this repository.

The default settings in config.json point to example_test_folder as the target directory containing TestCase .py files to run inside Touch Designer, but you can point to any other directory by pasting an absolute path instead.

Prerequisites

Must have Touch Designer installed

Running

To run, open a CMD prompt or terminal window.

Run unit_test_launcher.toe with the Touch Designer execute-able.

example in Windows:

C:\Program Files\Derivative\TouchDesigner099\bin\TouchDesigner099.exe E:\Projects\TDGam\tests\unit_test_launcher.toe

Touch Designer will launch, import the TestCases as a TestSuite in your target folder then, (if the final line is uncommented) exit.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details