Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9129

Re: Unit tests not linked to a class

$
0
0

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 9129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>