Project Releases

Release File: igortest-v1.10.zip (829.85 KB)
Version: 1.10
Version Date:
Version Major: 1.
Version Patch Level: 10
Release Link: https://github.com/byte-physics/igortest/releases/tag/v1.10
OS Compatibility: Windows Mac-Intel
Release Notes:

See here for the full changelog.

Release File: UnitTestingFramework-v1.09.zip (750.73 KB)
Version: 1.09
Version Date:
Version Major: 1.
Version Patch Level: 09
Release Link: https://github.com/byte-physics/igor-unit-testing-framework/releases/tag/UnitTeā€¦
OS Compatibility: Windows Mac-Intel
Release Notes:

See here for the full changelog.

Release File: UnitTestingFramework-v1.08.zip (1 MB)
Version: 1.08
Version Date:
Version Major: 1
Version Patch Level: 08
OS Compatibility: Windows Mac-Intel
Release Notes:
  • EvaluateRTE: Avoid Igor crash due to wrong printf usage
  • Avoid passing CHECK_WAVE(..., NULL_WAVE) assertion for existing wave. This required to change the value of NULL_WAVE.
  • Documentation/Readme.md: minor style fixes
Release File: UnitTestingFramework-v1.07.zip (1017.2 KB)
Version: IGOR.6.00.x-1.07
Version Date:
Version Major: 1
Version Patch Level: 07
OS Compatibility: Windows Mac-Intel
Release Notes:
  • Convert documentation to sphinx and extend it a lot!
  • Allow selecting test cases and test suites using a regular expression as paramter to RunTest.
  • Define a fixed order of the builtin hooks and the user hooks in which they are called. The begin user hooks are called after the builtin ones, the end user hooks before the builtin ones.
  • Catch aborts in user hooks
  • Lots of code cleanup
  • Output more info in assertion failure
  • Extend the wave checking assertions
  • Handle manual aborts during execution better
  • Add new run mode for automated execution
  • JUNIT support: Make testcase classname unique for successive runs
  • Add support for running the unit testing framework in an Independent Module
  • JUNIT output: Avoid hitting sprintf string limit

Unit Testing Framework IGOR.6.00.x-1.06

Release File: UnitTestingFramework-v1.06.zip (234.21 KB)
Version: IGOR.6.00.x-1.06
Version Date:
Version Major: 1
Version Patch Level: 6
OS Compatibility: Windows Mac-Intel
Release Notes:
  • The unit testing framework is now licensed under 3-Clause BSD. All contributors agreed to this license.
  • Add option to create TAP compatible log files
  • Add option to create JUNIT compatible log files
  • Fixed edge cases with empty test suites, non-reachable test cases and similiar
  • Overwrite check for output files
  • Add optional arguments keepDataFolder and allowDebug to RunTest
  • Split of TestBegin functions in internal and user part 

TestBegin, TestEnd, TestSuiteBegin, TestSuiteEnd, TestCaseBegin and TestCaseEnd were split into an internal function that is always executed and a hookable function where a user can extend functionality. The User functions are called directly after the internal functions.

  • More detailed error message on unexpected runtime errors
  • FIX: AbortFlag was not initialized on TEST_BEGIN
  • FIX: Check for Procedure File Names was Case-Sensitive
  • Docu: Use tabwidth of 4 for igor pro example code
  • Nicify examples
  • TEST_BEGIN/TEST_END: Turn off Igor Pro Debgger during test execution Turning off the debugger allows us to support non-interactive runs better as we don't rely on any defaults.

Unit Testing Framework IGOR.6.30.x-1.05

Release File: UnitTestingFramework-v1.05.zip (210.18 KB)
Version: IGOR.6.30.x-1.05
Version Date:
Version Major: 1
Version Patch Level: 5
OS Compatibility: Windows Mac-Intel
Release Notes:
  • Add wrapper functions for text waves
  • One can write like CHECK_EQUAL_TEXTS( somefunction(), {"a","b","c"} ). In old version, CHECK_EQUAL_WAVES( somefunction(), {"a","b","c"} ) makes compile error.
  • Fix and extend the wave type constants
  • INT16_WAVE is 0x10 and not 0x16. Add also INT64_WAVE, DATAFOLDER_WAVE and WAVE_WAVE.
  • Add *_PROPER_STR
  • In many cases one wants to check if some string is filled with content. Until now one would need to use *_NON_NULL_STR and *_NON_EMPTY_STR. This looks clumsy and does not make the intent clear.
  • Add new assertions types for strings
  • Checking that a string is non null or non empty was not possible out of the box. Add assertions *_NON_EMPTY_STR and *_NON_NULL_STR for testing the assertions that a string is not null or not empty. For convenience a null string is not considered non-empty but an empty string non-null.
  • Fix example4-wavechecking.ipf
  • 'Make/T/D w' does not make a text wave but a double wave.
  • Fix boolean value 'result' in TEST_WAVE_WRAPPER
  • Fix order of arguments of TEST_WAVE_WRAPPER

Thanks to ryotako for a few patches.

Unit Testing Framework IGOR.6.30.x-1.04

Release File: UnitTestingFramework-v1.04.zip (198.16 KB)
Version: IGOR.6.30.x-1.04
Version Date:
Version Major: 1
Version Patch Level: 4
OS Compatibility: Windows Mac-Intel
Release Notes:

Enhance error checking for override test hooks
Previously we searched for all correctly named functions with 1 parameter.
This created hard to find bugs if your hook function had a
different signature as it was silently ignored.

Now we don't limit the search according to the number of
parameters but check that each hook function has the correct number of
parameters and correct return type.

CLOSE_VAR: Add forgotten abs

From translating the code from C++ to Igor Pro the modulus of the
values was forgotten.

This results in the fact that all tests with only negative numbers
are considered true. E.g.:

print CLOSE_VAR(-1, -2)
* 1

print CLOSE_VAR(-0.1, -0.2)
* 1

Move history saving to operation queue

This allows runner functions using the operation queue to work properly.

Make history copy handling functions available for all callers

TEST_CASE_BEGIN: Always start in root:

Without the SetDataFolder call the UniqueName invocation is plain wrong.

Fix whitespace issues the in code

Unit Testing Framework IGOR.6.30.x-1.03

Release File: UnitTestingFramework-v1.03.zip (197.59 KB)
Version: IGOR.6.30.x-1.03
Version Date:
Version Major: 1
Version Patch Level: 3
OS Compatibility: Windows Mac-Intel
Release Notes:

* Add variants of CLOSE and SMALL check for complex numbers
* Modify example7 to show how uncaught aborts are handled
* Report unhandled aborts in test cases
* Enhance call stack traversing in getInfo

With the old implementation code like

Function testHelper_IGNORE()
FAIL()
end

Function myTestCase()
testHelper_IGNORE()
End

did not report the correct call site.
This was due to the assumption of a fixed call chain order.

Now we traverse the call stack from bottom up and report the first
function not in one of the unit testing procedure files.
* Update documentation to use doxygen 1.8.9.1
* Minor other changes

Unit Testing Framework IGOR.6.30.x-1.02

Release File: UnitTestingFramework-v1.02.zip (185.22 KB)
Version: IGOR.6.30.x-1.02
Version Date:
Version Major: 1
Version Patch Level: 2
OS Compatibility: Windows Mac-Intel
Release Notes:

Fix documentation

Unit Testing Framework IGOR.6.00.x-1.01

Release File: UnitTestingFramework-v1.01.zip (174.06 KB)
Version: IGOR.6.00.x-1.01
Version Date:
Version Major: 1
Version Patch Level: 1
OS Compatibility: Windows Mac-Intel
Release Notes:

Add PASS() which just increases the assertion counter.
Add also one more example and documentation for the usage of PASS() and FAIL().
Fix bug in debug output steaming from an incorrect parameter order of SelectString.

Unit Testing Framework IGOR.6.00.x-1.0

Release File: UnitTestingFramework-v1.0.zip (169.9 KB)
Version: IGOR.6.00.x-1.0
Version Date:
Version Major: 1
Version Patch Level: 0
OS Compatibility: Windows Mac-Intel
Release Notes:

initial release

Forum

Support

Gallery

Igor Pro 9

Learn More

Igor XOP Toolkit

Learn More

Igor NIDAQ Tools MX

Learn More