LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Execute unit tests accross projects

Solved!
Go to solution

Hi,

 

I'd like to automatically start tests accross multiple projects.

 

Here is the scenario: given projects A,B,C, ... developed independently, and say the developer of A introduces a change that affects B and C and maybe other projects too; now, I'd like to re-run all unit tests in A, B, C, ... to see if A's change results in errors in B, C or in any other project.

 

I thought of creating an umbrella project containing all tests from A, B, C, ... in auto fill folders but: 1) auto fill folders need to be added manually and I'd like to have a general solution; 2) auto fill folders seem to be buggy or at least they don't refresh themselves as expected; anyways, 1) is already a show stopper.

 

Can LabVIEW be scripted? Any other solutions?

 

Thanks,

 

Peter

0 Kudos
Message 1 of 5
(2,204 Views)

Did you try playing with the "Unit Test Framework" VIs available in LabVIEW? I think that will give you what you expect.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 5
(2,183 Views)

It depends what you mean by "playing" with the Unit Test Framework (UTF). Yes, we're using UTF for our tests.

 

A possible solution that just appeared to me is to store all tests (of projects A, B, C, ...) in a separate test project and use UTF's "run all tests" feaure to execute the tests. Any thoughts to that?

 

Peter

 

 

0 Kudos
Message 3 of 5
(2,174 Views)
Solution
Accepted by topic author bokorpet

Peter,

 

P@Anand referred to the API VIs from the UTF... You can use them to load unit tests and execute them independently of the project.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 5
(2,169 Views)

Thanks guys!

0 Kudos
Message 5 of 5
(2,162 Views)