06-26-2014 02:50 AM
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
Solved! Go to Solution.
06-26-2014 05:56 AM
Did you try playing with the "Unit Test Framework" VIs available in LabVIEW? I think that will give you what you expect.
06-26-2014 06:52 AM
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
06-26-2014 07:07 AM
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
06-26-2014 07:30 AM
Thanks guys!