Igor Pro Universal Testing Framework
The Igor Pro Universal Testing Framework (IUTF) is a versatile tool to write and run tests for Igor Pro code. The results of the tests is outputted in standardized formats that can be parsed by common CI frameworks. Test runs can also be fully automated as part of a CI/CD workflow. For simpler usage scenarios a summary of the test run is shown in the history after it finished.
What can IUTF be used for?
The IUTF offers great flexibility for writing test cases. It is supported to run the same test case with multiple inputs as well as Igor Pro specific features such as independent modules or background activities.
The IUTF is applied as a reliable tool in larger Igor Pro projects such as MIES.
// Simple demo example that tests the abs() function
The framework itself combines numerous features:
- Test assertions for all kinds of conditions in three main flavours: Warnings, Checks and Requirements
- Test cases can be grouped in test suites, run with multiple inputs, run in independent modules and contain background activity
- Support of standard output formats like JUNIT and TAP
- Support for automated execution as part of a CI pipeline
- Optional code coverage determination with Cobertura output support
- Optional memory leak tracking
- Fully documented and comes with lots of examples
- Easily expandable and adaptable
Igor Pro version 6.37 or newer on Windows and MacOSX
- Download the zip file attached to the newest
The file name is something like
- Extract the zip file into a folder, e. g.
- Open the Igor Pro user folder by selecting
Help/Show Igor Pro User Filesfrom the menu in Igor Pro
- Create a link from
- Installation finished. You are ready to use IUTF in Igor Pro. Have a look at the documentation or the example experiments
Most parts of IUTF are licensed under the BSD-3 clause.