Sign In

Caraya Unit Test Framework by JKI - Toolkit for LabVIEW Download

Caraya Unit Test Framework by JKI

* 8 ↓659
ReleasedMay 23, 2020
Publisher JKI
LicenseNew BSD
LabVIEW VersionLabVIEW>=13.0
Operating System Windows, Mac, and Linux
Project links Homepage   Documentation   Repository  


Caraya Unit Test Framework is an open source unit testing framework for LabVIEW. It takes a whole new approach to unit testing; your VI is your test. Caraya allows you to convert your manual test VIs you use for debugging into unit test cases with nearly no effort. Even running the tests is easy, just run the test case VI. Caraya significantly lowers the barrier for developers to write unit tests leading into improved overall code quality in real-world projects where developers don’t always have the luxury to write unit test cases first.

It runs on real-time targets and in the run-time engine too!

To learn more visit

Release Notes (May 23, 2020)


[Fix: 4] Fixed the intermittent error 1 when destroying Test Suites
[Fix: 34] Added an optional "Execution Time (us)" terminal to assertion methods for reporting
[Fix: 40] Assertions are now sorted in order they occur instead of ascending alphabetically
[Fix: 44] Fixed the conditions that overewrote assertions when test names were identical
[Fix: 47] Double-clicking on assertion result in Test Manager now works after VI has left memory for lvlibs inside lvlibs.
[Fix: 50] Updated the Math Test Suite to use non-deprecated method for Test Report
[Fix: 53] Fixed issues with comparison (greater/less) of variant representations when integers and floats were compared
[Fix: 65] Restored RT compatibility for Process VI after CLI integration
[Fix: 68] Fixed an issue where the number of skipped and failed tests in JUnit report were wrong.
[Fix: 79] Added XML escaping to ensure JUnit parses correctly
[Fix: 92] Upstream error will skip the following tests (Caraya 1.0.0 bug hotfix)

New Features:

[Feature: 34] Time is filtered from the JUnit report if execution time is not provided
[Feature: 41] Upgraded sources to LV2013
[Feature: 43] Added a verbose option the the Test Suite to export detailed explanation of failures
[Feature: 45] Attribute a unique identifier to each assertions performed
[Feature: 48] Added a Rerun All Tests menu in the Test Manager UI.
[Feature: 52] Added support for Command Line Interface which allows discovery and execution of all tests found under a folder. Outputs to a J-Unit compatible report or a plain text report.
[Feature: 55] Creation of a Test Runner class to search and execute tests programmatically. Includes a pre-build action for build integration.
[Feature: 62] Defined error code range (7000-7999) for Caraya framework
[Feature: 64] Support for QuickDrop plugin to run all unit tests in active project (Ctrl-U)
[Feature: 78] Support for nested Test Suites through Test Runner class extensions
[Feature: 87] No Tests Found message added to Test Manager UI when no assertions found
[Feature: 88] Added support for Library Refnum Test Runner

Thanks for all the contributions that led to this release, whether by reporting bugs, requesting features that made it to release or by lending a hand in fixing issues or releasing features:

arjen-hiemstra (@arjen-hiemstra)
Carlo (@carlodri)
Cyril Gambini (@CygaLV)
Matthew Jacobson (@jacobson3)
Sam Kaley (@skaley)
Jim Kring (@jimkring)
Piotr Kruczkowski (@Primary-Key)
laxmanraok (@laxmanraok)
Tomi Maila (@tmaila)
Omar Mussa (@omarmussa)
Francois Normandin (@francois-normandin)
OlivierLabo (@OlivierLabo)
Matt Pollock (@pollockm)
James D. Powell (@drjdpowell)
Chris Stryker (@ChrisStrykesAgain)
Sam Taggart (@stagg54)
Ivan Yakushchenko (@kosist)


Note, you must have the VIPM Desktop app installed for this button to work.

Featured in

  Post an Idea   Post a Resource

Recent Posts

Create Custom Test Reports for Caraya
Creating custom test reports for Caraya, an open-source assertion-based Unit Test Framework for Lab…

by Francois Normandin, 1 month, 4 weeks ago, 1 , 3
Caraya 1.0 - Simple Unit Testing
Tutorial to create a simple set of Unit Tests for LabVIEW using Caraya 1.0. The video walks throu…

by Francois Normandin, 1 month, 4 weeks ago, 0 , 3
Introduction to Unit Testing in LabVIEW with Caraya
New to Caraya and want to lean how to create unit test cases for your LabVIEW project with JKI's la…

by VIPM Community, 2 months ago, 0 , 3