Skip to content

yamad/igorunit

Repository files navigation

IgorUnit

A unit test framework for Igor Pro

General Design

IgorUnit is an implementation of the xUnit test framework for the Igor Pro data analysis language. Tests are defined directly in the Igor language using a set of simple assertion functions to make writing tests easy. The assertion function library is based on the googletest framework.

IgorUnit can run tests in a variety of convenient ways. If named appropriately, tests are autodiscovered. Alternatively, test suites can be manually composed.

See the docs directory for usage information.

Install

IgorUnit development is tracked in a git repository. It has a dependency on the igorutils package, which must be on the Igor search path for IgorUnit to work.

To install, download both the IgorUnit and igorutils packages and place the folders in the User Procedures directory. See the "Shared Procedure Files" and "Igor Pro User Files" help topics in the Igor help system for more information on installing Igor packages.

Dependencies