Tuesday, August 2, 2016

Difference between unit testing and integration testing

Unit testing is performed by developer. Unit testing means developer test the piece of code. Unit testing may be done using unit testing tools.
Integration testing mainly performed by software tester. Integration testing means developer integrate the all the modules. Hence tester has to test the whole system is working correctly after integration with different module also tester has to test that functional flow is not affected after co-relation with other modules. It’s part of black box and gray box testing. When system is integrated with back end and tester has to check database relations with system, it will be called gray box testing.

Monday, August 1, 2016

How to write test cases?



To write scenarios, first you need to identify the requirements. You need to read all the business rules and functional flow from SRS and BRS documents.
After requirement clarity, clear the types of testing required by client either they want only functional testing in application or they want load testing, database testing or any other type of testing in application.
If client requires only functional testing, identify the functional positive and negative scenarios in application and start writing in following format.
Make following columns in excel sheet.
1.       Test Case ID
2.      Module Name
3.      Requirement Number (Trace from SRS, BRS directly)
4.      Title of scenario
5.      Prerequisites
6.      Test Data
7.      Steps to be executed
8.      Expected Result
9.      Actual Result
10.   Pass/Fail
11.    Fail Bug ID
12.   Comments
Make sure you cover all the positive and negative scenarios to test the application which makes 100% coverage of your testing in the application. Let me know if any query.