LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
James_McN

Create Unit Test Vectors From The Unit Test Configuration Window

Status: New

I have recently been using more test vectors in the unit test framework.

 

The principle works well but if you are in a unit test and decide you need a test vector you must:

 

  • Close the unit test configuration
  • Create a test vector
  • Set up your vector (entering values and data types, which is much easier if you could see the actual unit test case)
  • Close the vector configuration window
  • Open the unit test configuration
  • Assign the new vector file to the unit test
  • Now you can assign vectors to test inputs

This seems convoluted and forces unnecessary context switchs.

 

I propose that at a minimum, you should be able to create a new vector file and launch it's configuration without leaving the unit test configuration window. I suspect that the whole process could be streamlined even further though.

James Mc
========
CLA and cRIO Fanatic
My writings on LabVIEW Development are at devs.wiresmithtech.com
1 Comment
FabiolaDelaCueva
Active Participant

This is needed also from the discoverability perspective. 

 

I have met lots of advanced LabVIEW developers who had given up on the Unit Test Framework, because they couldn't enter ranges of values. In essence they didn't know that they could use vectors and the vector configuration window doesn't have any hints as to where these vectors can be created.

 

 

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?