Quantcast
Viewing all articles
Browse latest Browse all 9063

Re: Unit tests not linked to a class

Hi Koen,

 

Don't know of any tool with the specific purpose of writing "generic test classes" or whatever you are requesting. You can do this workaround you suggest either in a class or in a program (report):

 

REPORT ztestv .

CLASS UNIT_TEST DEFINITION FOR TESTING.

 

   PUBLIC SECTION.

     METHODS:

     TEST_TABLE.

 

 

ENDCLASS.

 

CLASS unit_test IMPLEMENTATION.

 

   METHOD test_table.

* your code here, than menu->program->execute->unit test

   ENDMETHOD.

ENDCLASS.


Viewing all articles
Browse latest Browse all 9063

Trending Articles