Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

OData UT coverage using SCOV

0 Kudos

Hi, experts,

I am writing UT for some OData services in ER9/500 and interested in the coverage information. I heard that the coverage information can be obtained using the TCode SCOV. So I have a try and something strange happened: In the Display Details, I entered the class name in the object name and HTTP for Test Group. After execution, even for some classes without UT implemented there are already some coverages there. I am wondering whether these coverage information is true? And is it the right way to check the OData UT coverage by using SCOV?

Thanks in advance.

George

1 REPLY 1

Sandra_Rossi
Active Contributor
0 Kudos

Code Coverage is not specific to Unit Tests (UT as you say), everything called is recorded. When you run your unit tests to test a given class, you may want to cover 100% of the code of your class, it's what the code coverage is for, you don't need to know what other called programs are covered or not.