What are the Different types of Testing in software engineering ? How to design a Test Case ?

October 28, 2007 · Filed Under Placement Questions, Software Engineering 



Don't want to miss a single bit? Subscribe By Email for Daily Jobs

Enter your email address :

All the latest from JobsAdda on Jobsadda.com delivered to your mailbox everyday.

What is Testing in Software Engineering

Testing is running the program(or product) under various circumstances and conditions to find errors and bugs in it. This is important as releasing a faulty product will not only cause serious problems to the end user, it will also harm the companies reputation. There are various kind of Testing conditions and which one to use depends on type of product.
Types of Testing in Software Engineering

As per Test Target, there is * Unit Testing * Integration Testing * System Testing As per Test Objective, there is * User Acceptance Testing * Installation Testing * Functional * Alpha / Beta testing * Regression * Performance * Stress * Usability * Configuration * Smoke (Sanity Test) Let’s see them one by one -
Unit Testing

- The Tools used in Unit Testing are debuggers, tracers and is Done by Programmers. Unit testing verifies the functioning in isolation of software pieces which are separately testable.
Integration Testing

- According to IEEE, Integration Testing is An orderly progression of testing in which software elements, hardware elements, or both are combined and tested, to evaluate their interactions, until the entire system has been integrated. It Test against system design and Focuses on communication between modules start with one module, then add incrementally. Various Types of Integration Testing are: * big bang approach - Integrate Everything at once * top-down approach - Keep on breaking the system in parts one by one and than test each part. * bottom-up approach - Test the small parts first and than keep on integrating the system and keep on testing the bigger module of it. * mixed approach - Done by help of stubs (Dummy modules)
Sysem Testing

- IEEE Defines it as The process of testing an integrated hardware and software system to verify that the system meets its specified requirements. It is tested against system specification. May test manual procedures, restart and recovery, user interface, stress, performance. In System Testing, real data is used and sometimes users participations is also used.
Objective Based Testing

Some of the testing under this category and what they mean are as follows - *
User Acceptance Testing

- Testing conducted to determine whether or not a system satisfies its acceptance criteria and to enable the customer to determine whether or not to accept the system. It is Done against requirements and is done by actual users. *
Installation Testing

- System testing conducted once again according to hardware configuration requirements. Installation procedures may also be verified *
Functional Testing

- It checks that the functional specifications are correctly implemented. Can also check if Non Funcctional behavior is as per expectations. *
Stress testing (aka endurance testing)

- We impose abnormal input to stress the capabilities of the software. Input data volume, input data rate, processing time, utilization of memory, etc. are tested beyond the designed capacity. *
Regression Testing

- Regression Testing accdoing to IEEE is “selective retesting of a system or component to verify that modifications have not caused unintended effects”. It is repetition of tests intended to show that the software’s behavior is unchanged, except insofar as required. It Can be done at each test level. *
Performance Testing

- It is verifying that the software meets the specified performance requirements (response time, volume ..)

Alpha / Beta testing

- Probably one term which you must be aware of as we often hears this software is in Alpha phase and in Beta phase. Here Testing is done by representative set of potential users for trial use. Please Note - in-house (alpha testing) - external (beta testing)

Usability Testing

- It evaluate the Human Computer Interface. Verifies for ease of use by end-users. Verifies ease of learning the software, including user documentation. Checks how effectively the software functions in supporting user tasks. Checks the ability to recover from user errors.

Configuration Testing

- It is Used when software meant for different types of users. It also check that whether the software performs for all users.

Smoke (Sanity Test)

- It is used to Verify whether the build is ready for feature/requirement based testing).

Recovery Testing

- It is used in verifying software restart capabilities after a “disaster”

Security Testing

- It is ued toverify proper controls have been designed.
How to Design a Test Case

This Question is often asked in microsoft of from any other company who is looking to hire you for testing work. A test case will have 5 section -

Purpose Short sentence or two about the aspect of the system is being tested
Prerequisites Assumptions that must be met before the test case can be run.
Test Data List of variables and their possible values used in the test case as variable, value set.
Steps Steps to carry out the test.
Expected Results Expected Results [Verify Step]

Related Articles


Get Latest JobsAdda.com Jobs, news & updates  via Email