Lecture 3 - Introduction To Software Testing
Lecture 3 - Introduction To Software Testing
• Testing is performed at
different levels involving
the whole system or parts
of it throughout the life
cycle of a software
product
• Four stages of testing
• Unit test
• Integration test
• System test
• Acceptance test
IT4501 - Software Engineering Department - SoICT/HUST 3/7/19 112
Regression Test
Kiểm thử hồi quy 13
• Input domain
• Valid data and Invalid data
• Some values in the input domain may have special meanings and should
be treated separately
• Special values in the input and output domains of a program should be
considered while testing the program
• The purpose of system test planning is to get ready and organized for
test execution
• Test plan provides a framework, scope, details of resource needed, effort
required, schedule of activities and a budget
• Test design is a critical phase of software testing
• System requirements are critically studied
• System featured to be tested are identified
• Objectives and detailed behaviors of test cases are defined
• Test-Driven Development (TDD): test cases are designed and
implemented before the production code is written
• key practice of modern agile software development processes
IT4501 - Software Engineering Department - SoICT/HUST 3/7/19
Monitoring and Measuring test execution 23
• Motivation: to explore the progress of testing and reveal the quality level
of the system
• Test execution metrics are categorized into 2 classes
• Metrics for monitoring test execution
• Metrics for monitoring defects
• Quantitative measurements
• Number of defects detected by test cases
• Number of test cases designed/executed per day
• Number of defects found by the customers that were not found by the test
engineers