vipm-io / caraya

Assertion and unit test framework for LabVIEW
Other
59 stars 33 forks source link

Allow to Register Test with caller -- same as for Assert Methods #185

Closed francois-normandin closed 9 months ago

francois-normandin commented 9 months ago

Allow Wrapping the Caraya Register Test method.

Addition of the snippet below will allow registering Define Test with the caller VI. Defaults to 0 (unchanged)

image

Contrary to the Assert method that can register to Tests in whatever hierarchical depth (until it finds a Defined Test node), the Define Test node will always register to n-level above, which must be supplied by the caller stack. A simple wrapper VI will therefore require a level = 1.

francois-normandin commented 9 months ago

Released in 1.4.3