Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66700

Unit Test Framework: inlined subVI test coverage

$
0
0

Hi,

 

does anybody know if the Unit Test Framework considers inlined subVIs recursively when measuring coverage?

 

Consider following example:

 

f(a:int){

  g();

}

 

g(){

  if (false) return -1;

  else return 0;

}

 

Obviously, there is no test for g() with 100% (branch) coverage, and any test for f() achieves 100%.

 

My question is: given a test for f(), does UTF give a different coverage if I set g() to be inlined (<100%) or not (100%)?

 

Thanks,

 

Peter


Viewing all articles
Browse latest Browse all 66700

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>