Software Testing Fundamentals | Basics Of Software Testing

Page 1

Software Testing And Its Fundamentals

www.kostcare.com


Software Testing is used to identify the accuracy, completeness, and quality of a software application. It executes the software under several positive and negative conditions and checks for its compliance, functionality, and performance.

www.kostcare.com


Understanding Error, Bug, Fault, Failure and Defect

www.kostcare.com


The human action that results in an incorrect output is an error. The presence of error while software execution is called a bug. The state of software with an error/bug is a fault. This event of deviation in software functionality from its intended result is called a failure. www.kostcare.com


A test is an action taken to find out if something is working as it is supposed to work. It involves simulating situations under which the object is supposed to work.

www.kostcare.com


It is a descriptive document where the scope of testing, approach, resources, schedule and its related 0 activities are described. The format and the content of a test plan can differ based on the processes, standards and the testing tools being used. www.kostcare.com


It is a set of conditions or input parameters which is used while execution. The actual output is then compared with the intended output to determine whether the system works as required. www.kostcare.com


Test Script

A test script is used in automated testing. It is a set of instructions which are executed in an application under test. Many test automation frameworks can record/generate the test scripts. www.kostcare.com


Methods of Software Testing

www.kostcare.com


White Box Method

Also known as open box testing, in this method, the internal structure of the application under test is known to the tester.

www.kostcare.com


Black Box Method

This is a testing method where the internal structure of the system is not known to the tester.

www.kostcare.com


Gray Box Method Being a combination of white box and black box testing, here the internal structure is partially known. It implies black box testing with access to the internal resources. www.kostcare.com


Agile method

It follows the principles of the agile methodology and testing is carried out throughout the development process.

www.kostcare.com


Ad hoc method

This refers to random testing without any documentation or proper planning.

www.kostcare.com


Levels of Software Testing

www.kostcare.com


Unit Testing

Here individual methods of the application are tested. It is performed by using the white box method.

www.kostcare.com


Integration Testing Here the individual units are combined and tested as a group. Here, any of the white box, black box or grey box methods can be used for testing. www.kostcare.com


System Testing Here, the complete system is checked. This evaluates the compliance of the system with the requirements specified. Generally, the black box method is used to carry out this test. www.kostcare.com


Acceptance Testing This evaluates the system for its acceptability by checking its compliance level with the system requirements specification. Here, black box method is followed for the testing. www.kostcare.com


Types of Software Tests Smoke Test Functional Test Usability Test Security Test Performance Test Regression Test Compliance Test www.kostcare.com


Phases of Software Testing A software testing life cycle, STLC, defines the different phases in software testing. Although the phases are the same, but their sequence differs as per the Software Development Life Cycle(SDLC) followed and the management decisions. The phases may not be sequential as shown. They may also be carried out in parallel as well. The general phases of any STLC are as follows: www.kostcare.com


The general phases of any STLC are as follows

Requirements Review Test Planning Test Designing Setting up Test Environment Test Execution Reporting Conclusion www.kostcare.com


An effective software testing process delivers quality software which satisfies the user's requirements and expectations. It is an important part of Software Quality Control. With the rise in software competition, the need to ensure quality software is now a priority requirement. www.kostcare.com


KostCare offers a complete and comprehensive suite of Software Testing Solutions to meet varied testing and quality assurance needs of its clientele.

www.kostcare.com


For More Information Visit Our Website www.kostcare.com


www.kostcare.com


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.