Application Development and Automation 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: 
Read only

supress unhandled exception while creating Test Double

0 Likes
635

Dear Folks,

is there a way to surpress code inspector warnings for unhandled exception while creating test doubles with class/method?

CL_ABAP_TESTDOUBLE=>CONFIGURE_CALL( lo_double ).

lo_double->do_some_awsome_stuff( ).


BR

Dominik

2 REPLIES 2
Read only

Sandra_Rossi
Active Contributor
500

Maybe you can simply abandon this class (cl_abap_testdouble) because it just adds complexity and no benefit. It's easier to implement manually the interface by a local test class. Or is there something I don't see?

Read only

0 Likes
500

Hi Sandra,

thanks for response. It is posssible as you described to avoid using the test double framework. But it also prevents you from owning extra code. It the start it was quit hard to get used to it. But at the meantime i don't want to miss it.

BR

Dominik