LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
oenk

Unit Test Framework: add categories and or UT selector

Status: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined. 

It would be nice if UnitTests could be grouped into categories, so only a subset of UnitTests can be run (like it is in Visual Studio 2010) at any time. Or if the UTs are displayed in a list and one can choose which to run.

As you can see in the snippet I've got 4 UTs two read and two write. Those are grouped into tests for DeviceUnderTest 1 and DUT2. Now I can run UTs for e.g only DUT2 (as this is the one currently connected to my hardware). Or I can run only the read UTs and so on...

Capture.PNG

 

I know: normally you run all UTs but during development it might be nice to run only a subset of them...

4 Comments
oenk
Member

Here the image in full size...

Capture.PNG

AristosQueue (NI)
NI Employee (retired)

Oenk: I have only used the UTF a few times, but I thought you could group tests using virtual folders in the project and then just run that folder. I really don't remember and don't have UTF installed at the moment to try this, but you might check and see if that works.

oenk
Member

AQ you are right. I should have looked closer to the UTF functionalities.

Nevertheless I think it would be a good idea to have some sort of grouping functionality (more than one, as a file could be only in one folder) and maybe even a GUI which lets you decide which UTs to run.

Darren
Proven Zealot
Status changed to: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined.