Sign Up

Caraya Unit Test Framework by JKI - Toolkit for LabVIEW Download

Caraya Unit Test Framework by JKI

* 18 ↓6,905
ReleasedJul 12, 2021
Publisher JKI
License New 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 (Jul 12, 2021)

This is a patch to resolve a bug in the application context for running Caraya tests through VI Server. Thanks Pascal Neuperger (@logmanoriginal) for the patches.

Cumulative update 1.2.0 and 1.2.1:
This release includes features to build into PPL, provides Caraya library information and ability to wrap assert methods without redefining the test (as a result, the extension of Caraya Assertion API is now simple and straightforward)

New Features:

[Feature: 112] Added Test Result to the "Run" method.
[Feature: 117] Added ability to wrap test assertions without redefining tests.
[Feature: 121] Expose Caraya Library Information publicly
[Feature: 122] Enabled Ctrl-C to copy test tree results directly from interactive UI
[Feature: 123] Added an example to demonstrate support for specific type assertions


[Issue: 56] Added a geometrically increasing delay on Interactive UI assert result refreshes.
[Fix:120] Run Tests in Active Project is now functionality that is part of Caraya library.
[Fix: 124] Caraya report now does not have duplicated test results after Test Manager uses TestID instead of Call Chain to extract results from datastore.
[Fix: 127] Caraya is now buildable into a PPL directly from the Caraya project.
[Fix: 131] Almost equal now reports a verbose UTF-8 compatible string
[Fix: 133] Handling of linker info errors during test discovery step in Test Runners.
[Fix: 135] Caraya library path now resolves for PPLs, EXE and project-specific installs
[Fix: 137] Fixes the context in which TestRunner is executing
[Fix: 138] Fixes the incorrect re-run of last test in Test Manager UI when no tests found

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:

Tanner Blair (@tannerblair)
Henrik Dueholm (@HenrikDueholm)
Christopher Field (@volks73)
Andrew Heim (@AndrewHeim)
Jim Kring (@jimkring)
Philip Lundeen (@plundeen)
Stephen Loftus-Mercer (@SRM256)
Blake Mitchell (@bmitc)
Pascal Neuperger (@logmanoriginal)
Francois Normandin (@francois-normandin)
Felipe Pinheiro Silva (@felipefoz)

Download Package

Featured in

  Post an Idea   Post a Resource

Recent Posts

Caraya: A New Take on LabVIEW Unit Testing (Presented by Jim Kring at NIWeek 2016)
How often have you created a small debug VI to test your software but never created a unit test to …

by Jim Kring, 2 years, 2 months ago, 1 , 3
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, 2 years, 5 months 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, 2 years, 5 months 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 years, 5 months ago, 0 , 3