Download presentation
Presentation is loading. Please wait.
Published byCrystal Sharp Modified over 9 years ago
1
University of Palestine software engineering department Testing of Software Systems Fundamentals of testing instructor: Tasneem Darwish
2
Outlines Why is testing necessary? What is testing? Testing principles Fundamental test process The psychology of testing
3
FUNDAMENTAL TEST PROCESS we can divide the activities within the fundamental test process into the following basic steps: planning and control; analysis and design; implementation and execution; evaluating exit criteria and reporting; test closure activities.
4
FUNDAMENTAL TEST PROCESS These activities are logically sequential, but, in a particular project, may overlap, take place concurrently and even be repeated. This process is particularly used for dynamic testing, but the main headings of the process can be applied to reviews as well the detail and naming of the activities will be different for static testing.
5
Test planning and control Test planning has the following major tasks, given approximately in order, which help us build a test plan: Determine the scope and risks and identify the objectives of testing Determine the test approach (techniques, test items, identifying and interfacing with the teams involved in testing) Implement the test policy and/or the test strategy Determine the required test resources (e.g. people, test environment, PCs) Schedule test analysis and design tasks, test implementation, execution and evaluation Determine the exit criteria:
6
Test planning and control Management of any activity does not stop with planning it. We need to control and measure progress against the plan. Test planning takes into account the feedback from monitoring and control activities which take place through out the project.
7
Test planning and control Test control has the following major tasks: Measure and analyze the results of reviews and testing Monitor and document progress, test coverage and exit criteria Provide information on testing Initiate corrective actions make decisions or enable others to make decisions: to continue testing, to stop testing, to release the software or to retain it for further work
8
Test analysis and design During test analysis and design, we take general testing objectives identified during planning and build test designs and test procedures (scripts)
9
Test analysis and design Test analysis and design has the following major tasks, in approximately the following order: Review the test basis (such as the product risk analysis, requirements, archi tecture, design specifications, and interfaces), examining the specifications for the software we are testing. We can start designing certain kinds of tests (called black-box tests) before the code exists, as we can use the test basis documents to understand what the system should do once built.
10
Test analysis and design Test analysis and design has the following major tasks, in approximately the following order: Identify test conditions based on analysis of test items, their specifications, and what we know about their behavior and structure. This gives us a high- level list of what we are interested in testing.
11
Test analysis and design Test analysis and design has the following major tasks, in approximately the following order: Design the tests, using techniques to help select representative tests that relate to particular aspects of the software which carry risks or which are of particular interest, based on the test conditions and going into more detail.
12
Test analysis and design Test analysis and design has the following major tasks, in approximately the following order: Evaluate testability of the requirements and system. The requirements may be written in a way that allows a tester to design tests If the requirements just say 'the software needs to respond quickly enough' that is not testable, because 'quick enough' may mean different things to different people. A more testable requirement would be 'the soft ware needs to respond in 5 seconds with 20 people logged on'
13
Test analysis and design Test analysis and design has the following major tasks, in approximately the following order: Design the test environment set-up and identify any required infrastructure and tools. This includes testing tools and support tools such as spreadsheets, word processors, project planning tools, and non-IT tools and equipment - everything we need to carry out our work.
14
Test implementation and execution During test implementation and execution, we take the test conditions and make them into test cases and testware and set up the test environment.
15
Test implementation and execution Test implementation have the following major tasks, in approximately the following order: Develop and prioritize our test cases, using the techniques you'll see in Chapter 4, and create test data for those tests. We will also write instructions for carrying out the tests (test procedures) Create test suites from the test cases for efficient test execution. A test suite is a logical collection of test cases which naturally work together. Test suites often share data and a common high-level set of objectives. We'll also set up a test execution schedule.
16
Test implementation and execution Test implementation have the following major tasks, in approximately the following order: Implement and verify the environment. We make sure the test environment has been set up correctly, possibly even running specific tests on it.
17
Test implementation and execution Test execution have the following major tasks, in approximately the following order: Execute the test suites and individual test cases, following our test proce dures. We might do this manually or by using test execution tools, accord ing to the planned sequence. Log the outcome of test execution and record the identities and versions of the software under test, test tools and testware. Compare actual results (what happened when we ran the tests) with expected results
18
Test implementation and execution Test execution have the following major tasks, in approximately the following order: Where there are differences between actual and expected results, report discrepancies as incidents. We analyze them to gather further details about the defect, reporting additional information on the problem, identify the causes of the defect, and differentiate between problems in the software and other products under test
19
Test implementation and execution Test execution have the following major tasks, in approximately the following order: Repeat test activities as a result of action taken for each discrepancy. We need to re-execute tests that previously failed in order to confirm a fix (confirmation testing or re-testing).
20
Evaluating exit criteria and reporting Evaluating exit criteria is the activity where test execution is assessed against the defined objectives. This should be done for each test level, as for each we need to know whether we have done enough testing. Based on our risk assessment, we'll have set criteria against which we'll measure 'enough'.
21
Evaluating exit criteria and reporting Exit criteria should be set and evaluated for each test level. Evaluating exit criteria has the following major tasks: Check test logs against the exit criteria specified in test planning Assess if more tests are needed or if the exit criteria specified should be changed Write a test summary report for stakeholders
22
Test closure activities During test closure activities, we collect data from completed test activities to consolidate experience, including checking and filing testware, and analyzing facts and numbers. We may need to do this when software is delivered. we have gathered the information needed from testing, the project is cancelled, a particular milestone is achieved, when a maintenance release or update is done.
23
Test closure activities Test closure activities include the following major tasks: Check which planned deliverables we actually delivered and ensure all incident reports have been resolved through defect repair or deferral. Finalize and archive testware, such as scripts, the test environment, and any other test infrastructure, for later reuse. Hand over testware to the maintenance organization who will support the software and make any bug fixes or maintenance changes, for use in con firmation testing and regression testing.
24
Test closure activities Test closure activities include the following major tasks: Evaluate how the testing went and analyze lessons learned for future releases and projects.
25
Class work Which of the statements below is the best assessment of how the test principles apply across the test life cycle? a. Test principles only affect the preparation for testing. b. Test principles only affect test execution activities. c. Test principles affect the early test activities such as review. d. Test principles affect activities throughout the test life cycle.
26
Class work According to the ISTQB Glossary, a risk relates to which of the following? a. Negative feedback to the tester. b. Negative consequences that will occur. c. Negative consequences that could occur. d. Negative consequences for the test object.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.