Skip to Content
0

OData UT coverage using SCOV

Sep 21, 2017 at 08:33 AM

30

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sandra Rossi Sep 21, 2017 at 09:24 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded