Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
25 Views

TDD, test coverage for Fortran

Hi, all.
My question is about measuring test-coverage in Fortran code.

I have searched on the Forum for TDD and have found only one dead topic
12/02/2003  "Unit Testing with Fortran" https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/273128

Current status.
I have some unit-tests (~200) for my simulator written in Fortran. I can run them manually and get the amount of passed/ not passed.

I'm trying to find a tool to evaluate the % of the code covered by my unit-test.

0 Kudos
1 Reply
Highlighted
Valued Contributor II
25 Views

Have you looked at the "Tools/Intel Compiler/Code coverage..." menu item in Visual Studio? (Or alternatively searched the compiler documentation for "coverage") I do not know if this fits your situation, but at the very least you get insight in what parts of the code have indeed been run. I am not sure if it combines the coverage results for several test programs, but it is a start.

0 Kudos