12-01-2008 10:51 AM
Hi Collegues,
I am new in Abap Development and I am trying to "port" some of my Agile Knowledges within this new world.
The Abap Unit framework implementation of xUnit is a good point to start.
A unit test is Unit if:
- there is no db connection
- it does no work with network
- etc.
I know, more depends by the way and intention of unit test, but mock an object is really useful.
Is there a way to create mock object in Abap? Something like EasyMock.
Thanks for your replies.
Regards,
Mirco.
12-01-2008 10:02 PM
12-01-2008 10:02 PM
12-02-2008 4:58 PM
12-09-2008 7:00 PM
Hello Mirco,
as Sandra already told there is no automatic support for test doubles yet. All you can do is to write stubs, spies and mocks on your own.
BTW: As in ABAP you get the DB connection for free, the definition for a Unit Test does not apply in full extend.
Best Regards
Klaus