C L I C K
ETWATRESINGTOFS321 EDNAMVARICCNEARUASYTISQAUL
Testing PolicyOnly exhaustive testing can show a program is free from defects. However, exhaustive testing is impossible;Testing policies define the approach to be used in selecting system tests; For example,All functions accessed through menus should be tested;Combinations of functions accessed through the same menu should be tested;Where user input is required, all functions must be tested with correct and incorrect input.3
Software Testing & Development Life Cycle
Unit Testingmoduleto betestedResultSoftware EngineerTest Cases
Unit Testingmoduleto betestedInterfaceLocal Data StructuresBoundary ConditionsIndependent pathsError Handling PathsTest Cases
InterfaceModuleLocal Data StructuresBoundary ConditionsDriverIndependent pathsError Handling PathsstubstubTest CasesResult
Integration Testing Involves building a system from its components and testing it for problems that arise from component interactions.Top-down integration Develop the skeleton of the system and populate it with components.Bottom-up integrationIntegrate infrastructure components then add functional components.To simplify error localisation, systems should be incrementally integrated.
Integration TestingThe Big-bang Approach.
Incremental Approach.What is mean by stub A Stub is a special code arrangement when called by any other module, stimulates the behaviour of an well designed and existing module which is not yet constructed or developed.
Top-Down IntegrationATop module is tested with StubBFGStubs are all Replaced one at a time, Depth firstCAs new modules are integrated, some subset of tests is re-runDE
Bottom-Up IntegrationABFGDrivers are replaced one at a time, Depth First.CWorker modules are grouped into builds and IntegratedDECluster
Thread-Based IntegrationATop Modules are tested with stubsBFGCWorker modules are grouped into builds and IntegratedDECluster
Systems testing
Trivial exampleScenario-based Testing
Trivial Example-System Testing
Regression TestingChange do not always effect the entire program.
After each change
Entire test suite of a system must be run again.Need for an automatic test suite execution.
Test activitiesExpected results when the inputs are executed; and Execution conditions or execution environment in which the inputs are to be executed. Boils down to selecting and executing test cases. Test case consists of……Set of test inputs, of if the program is non-terminating, a sequence of test inputs.These steps generally remain same from unit testing to system testing.
Test Case selection
Test OraclesA test oracle is
 A program
 A process
 A body of data

Software testing and_quality_assurance_powerpoint_presentation