Application Development 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: 

Difference between unit testing and integration testing

Former Member
0 Kudos

What is the difference between unit testing and integration testing in SAP? Is unit testing takes place in Dev client and integration testing takes place in QA system?

Please clarify

thanks

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate

Unit testing is usually done by the developer while developing the program(s) or the functional analyst could take part in this too. Really it is testing the single program or parts of the program. Intergration Testing is more left to the functional analyst and the career testers. They would be testing how the program changes effect the surrounding business processes and downsteam process.

Regards

Rich Heilman

7 REPLIES 7

Former Member
0 Kudos

Yes. Unit testing is done in DEV by the developer.

Funtional unit testing is done by the functional consultant in DEV.

Integration testing is done in QA by the functional consultant again and by the end-users.

Once all these tests are done, the transport is moved to Production system and signed-off.

Thanks,

Santosh

0 Kudos

Hi Santosh

Can you give steps for integration testing between SD-MM-FI. Give me example of one test atleast.

my e.mail mannynyusa@yahoo.com

Thanks.

Manish

RichHeilman
Developer Advocate
Developer Advocate

Unit testing is usually done by the developer while developing the program(s) or the functional analyst could take part in this too. Really it is testing the single program or parts of the program. Intergration Testing is more left to the functional analyst and the career testers. They would be testing how the program changes effect the surrounding business processes and downsteam process.

Regards

Rich Heilman

ferry_lianto
Active Contributor
0 Kudos

Hi Krishen,

Unit testing should be taken care of by the developer at the developer side by executing the test scripts which are provided by functional peoples to trace the errors like if its not meeting the reqs or any bugs is there.

Integration testing is being done by functional folks after deliverable by the developer to test whether its working up to the point and after integrating this module with any other module, what are the erros generating.

Is unit testing takes place in Dev client and integration testing takes place in QA system?

Yes, unit testing is usually performed in DEV and sometimes in sandbox (with small set of data/scenarios).

The integration testing is usually taken place in QA.

Regards,

Ferry Lianto

Former Member
0 Kudos

hi Krishen

Check this out

http://en.wikipedia.org/wiki/Unit_testing

http://en.wikipedia.org/wiki/Integration_testing

Regards,

Santosh

Message was edited by:

Santosh Kumar Patha

abdul_hakim
Active Contributor
0 Kudos

Hi

Unit Testing Refers to testing your Program units like Subroutines,Methods,Fms,Event Blocks etc..To be straight forward testing the program developed / Program Parts at a time and its carried out in Dev or Sandbox system by the Developer.

Integeration test is carried out by the functional consultant in the QA box..ie testing the entire functionality of the Object developed.

Regards,

Hakim

former_member183804
Active Contributor
0 Kudos

Hello Krishen,

unit testing means veryfiingsmall / the smallet pieces of software, while integration testing checks the overall functionality of applications. Within the AS ABAP the tool ECATT + manual tests is used for integration tests and the ABAP Unit language integration for unit testing.

When, Who, Where tests are carried out is ultimately a personal decision. As unit tests are operate even under heavy development they are often the first choice for developers, but the unit tests can also serve for regression tests over a long period. Integration tests tend too be created and executed in later stages as they require often a certain majurity of the software under test.

Beside the mentioned links you may check out ABAP Unit infos also in the Wiki.

https://wiki.sdn.sap.com/wiki/display/HOME/ABAP+Unit

Best Regards

Klaus