Академический Документы
Профессиональный Документы
Культура Документы
Testing
6.1 Testing Objectives 6.2 Testing Strategy 6.3 Testing Cases and Results
Testing
TESTING
6.1 Testing Objectives
Chapter-6
Testing is a multi-step process, which involves exercising the program using data like the real data processed by the program. Examining the outputs of the program & looking for anomalies infer the existence of program defects or inadequacies. The test activities are normally divided into Verification & Validation. Verification & Validation is a whole life-cycle process. It starts with requirements reviews & continues through design reviews & code inspections to product testing. There should be Verification & Validation activities at each stage of the software process during which defects in the program are normally discovered & the program must then be modified to correct these defects. The difference between Verification & Validation can be expressed as:-
Verification: Are we building the system correctly? Validation: Are we building the correct system? Verification involves checking that the software conforms to its specification i.e. the system meets its specified functional and non-functional requirements. Validation checks whether the software meets the expectations of the customer i.e. whether the result really is, what the customer actually wanted. This focuses on customer satisfaction & is concerned with getting the specification & the result sight.
Testing
The working or the other parameters of the functionality are not reviewed or tested on the black box testing technique. There is a specific set of inputs for each and every module which is applied and for each set of inputs the result or the output is verified and if found as per the system working this testing is termed or result is declared as pass.
If the set of inputs that are provided to each module are not giving the outputs as per the expected results from the module then the result of that testing is to be declare failed.
Moreover the bottom up integration of the modules is applied herein so that each module can be verified at the initial stage and if it is found that the independent module is perfectly alright, only then it is going to be integrated with other related modules otherwise the module is checked for flaws and then if it satisfies all the specific requirements of the module, is integrated to other related modules to form and incorporate a system. Black box testing attempts to find errors in the following categories: Incorrect or missing function. Interface errors. Errors in fetching external data. Behavior or performance errors. Initialization and termination errors.
White box testing requires access to the source code. Though white box testing can be performed any time in the life cycle after the code is developed, it is a good practice to perform white box testing during the unit testing phase. White box testing requires knowing what makes software secure or insecure, how to think like an attacker, and how to use different testing tools and techniques. The first step in white box testing is to comprehend and analyze available design documentation, source code, and other relevant development artifacts, so knowing what makes software secure is a fundamental requirement. Second, to create tests that exploit software, a tester must think like an attacker. Third, to perform testing effectively, testers need to know the different tools
Testing
and techniques available for white box testing. The three requirements do not work in isolation, but together.
As per the project white Box Testing is used. Model because independent paths of modules and loops are the cornerstones of the vast majority of all algorithms implemented in the software. There are five different classes of the loops, which can be defined as follows. Simple Loops. Nested Loops. Concatenated Loops. Unstructured Loops. Continuous Loops.
Testing
from the test data. It may also reveal requirements problems where the systems facilities do not really meet the users needs or the system performance is unacceptable.