Chapter 1
Chapter 1
FUNDAMENTAL OF TESTINNG
Contents
1. What is testing?
2. Why is testing necessary?
3. Testing principles
4. Fundamentals of test process
5. The psychology of testing.
1. What is testing
• Testing: the process consisting all life cycle activities, both static and dynamic
testing, concerned with planning, preparation and evaluation of software
products and related work products:
to determine that they satisfy specified requirements
to demonstrate that they are fit for purpose and
to detect defects.
• Software testing:
1. access the quality of product and
2. reduce risk of failure in production.
Testing activity
reviewing work products such as requirements, user stories, and source code.
• Factors affect:
• Product and project risks
• Business domain
• Operational constraints: budget, resources, timescales
• Contractual and regulatory requirements
• Organization policies and practices
• Test level and test type being considered.
• Software development lifecycle model and project methodologies
Test activities and tasks
test process include activity
• Test planning
• Test monitoring and control
• Test analysis
• Test design
• Test implementation
• Test execution
• Test completion
Test planning
• Define test objective and test approach within constraints imposed by
the context
• Determine the scope and risk
• Implement test policy and test strategy
• Determine the required test resource
• Determine the exit criteria
=> deciding suitable test techniques to use
=> deciding what task need to be done
Þ formulating a test schedule (test analysis and design tasks, test
implementation/execution/evaluation)
Test monitoring and control
• Test monitoring: test management activity by checking actual
progress against test plan, identifying any deviations from the plan
Þreport status to stakeholder.