LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Jorr-El

Unit Test Framework Support on LabVIEW for Linux

Status: New

Currently there are no officially supported frameworks for Unit Testing in LabVIEW for Linux.

 

A lack of a unit testing framework on LabVIEW for Linux reduces LabVIEW's usability in widely-recognized and industry standard software engineering practices.

 

A Unit Test Framework created by NI already exists, as well as a 3rd-party tool for free, VI Tester by JKI. However, neither of these are available for desktop Linux (or Macintosh).

 

NI LabVIEW Unit Test Framework Toolkit

 

VI Tester - JKI

https://github.com/JKISoftware/JKI-VI-Tester/wiki 

Jorr-El
Systems Engineer
Testeract: Automated Test Specialists
6 Comments
PaulLotz
Member

This is critical even from a programmatic standpoint in those environments where a project requires deployment on Linux and LabVIEW is in all other respects qualified for development. The argument to use LabVIEW is weakened without the availability of these tools.

kosist90
Active Participant

Well, as VI tester is open-source, community may contribute to it, and make it Linux-friendly.
And what about Caraya? It is also not possible to use it on Linux?

ttsai
Member

 It is critical for LabVIEW to have the unit test framework support on Linux.

Darren
Proven Zealot

 FYI, Caraya is supported on all desktop platforms for LabVIEW.

 

https://www.ni.com/en/support/downloads/tools-network/download.caraya-unit-test-framework.html

Jorr-El
Member

@Jorr-El

FYI, Caraya is supported on all desktop platforms for LabVIEW.

 

https://www.ni.com/en/support/downloads/tools-network/download.caraya-unit-test-framework.html


Thanks for the clarification, Darren. I couldn't find any documentation on NI's or JKI's websites for the OS compatibility of Caraya, but when I actually downloaded the package and viewed it in VI Package Manager, it says right there the compatible OS versions are ALL

Caraya Unit Test Framework v0.5.1.31 by JKI
Released On: Fri, 05 May 2017 10:34:08 -0700
Author: Tomi Maila
Copyright: Copyright (c) 2017, JKI
License: New BSD
Compatible LabVIEW Versions: >= 2009.
Compatible OS Versions: ALL.
Repository Name: JKI Package Network

In case others are interested in performing Unit Tests on LabVIEW code, here is the full list of options I was able to find from looking into this more deeply:

 

NI LabVIEW Unit Test Framework (Officially only supported on Windows)

 

JKI VI Tester (Officially only supported on Windows, but MacOS support may be coming soon and Linux support is being tracked)

https://github.com/JKISoftware/JKI-VI-Tester/wiki 

 

JKI Caraya (Officially supports all operating systems compatible with LabVIEW)

https://www.ni.com/en/support/downloads/tools-network/download.caraya-unit-test-framework.html

 

IncQuery InstaCoverage (Officially only supported on Windows)

https://www.ni.com/en-us/shop/product/instacoverage-for-labview.html

Jorr-El
Systems Engineer
Testeract: Automated Test Specialists
FabiolaDelaCueva
Active Participant

@Jorr-El, 

Thanks for including the available tools here. 

 

For others finding this post, you might want to visit the Unit Testing Group. As new tools come out, we discuss them there. There are also other interesting discussions regarding unit testing.

 

Regards,

Fab

For an opportunity to learn from experienced developers / entrepeneurs (Steve, Joerg, and Brian amongst them):
Check out DSH Pragmatic Software Development Workshop!

DQMH Lead Architect * DQMH Trusted Advisor * Certified LabVIEW Architect * Certified LabVIEW Embedded Developer * Certified Professional Instructor * LabVIEW Champion * Code Janitor

Have you been nice to future you?