Test automation Building automatically repeatable test suites Test - - PowerPoint PPT Presentation
Test automation Building automatically repeatable test suites Test - - PowerPoint PPT Presentation
Test automation Building automatically repeatable test suites Test automation n Test automation is software that automates any aspect of testing TA2 Test automation 2 n Test automation is software that automates any aspect of testing n
SLIDE 1
SLIDE 2
TA–2
Test automation
n Test automation is software that automates any aspect of
testing
SLIDE 3
TA–3
Test automation – 2
n Test automation is software that automates any aspect of
testing
n Generating test inputs and expected results
SLIDE 4
TA–4
Test automation – 3
n Test automation is software that automates any aspect of
testing
n Generating test inputs and expected results n Running test suites without manual intervention
SLIDE 5
TA–5
Test automation – 4
n Test automation is software that automates any aspect of
testing
n Generating test inputs and expected results n Running test suites without manual intervention n Evaluating pass/no pass
SLIDE 6
TA–6
Test automation – 5
n Test automation is software that automates any aspect of
testing
n Generating test inputs and expected results n Running test suites without manual intervention n Evaluating pass/no pass
n Testing must be automated to be effective and repeatable
SLIDE 7
TA–7
Automated testing steps
n Exercise the implementation with the automated test suite
SLIDE 8
TA–8
Automated testing steps – 2
n Exercise the implementation with the automated test suite n Repair faults revealed by failures
SLIDE 9
TA–9
Automated testing steps – 3
n Exercise the implementation with the automated test suite n Repair faults revealed by failures n Rerun the test suite on the revised implementation (includes
test suite)
SLIDE 10
TA–10
Automated testing steps – 4
n Exercise the implementation with the automated test suite n Repair faults revealed by failures n Rerun the test suite on the revised implementation (includes
test suite)
n Evaluate test suite coverage
SLIDE 11
TA–11
Automated testing steps – 5
n Exercise the implementation with the automated test suite n Repair faults revealed by failures n Rerun the test suite on the revised implementation (includes
test suite)
n Evaluate test suite coverage n Enhance the test suite to achieve coverage goals
SLIDE 12
TA–12
Automated testing steps – 6
n Exercise the implementation with the automated test suite n Repair faults revealed by failures n Rerun the test suite on the revised implementation (includes
test suite)
n Evaluate test suite coverage n Enhance the test suite to achieve coverage goals n Rerun the automated test suite to support regression testing
SLIDE 13
TA–13
Automated testing advantages
n Permits quick and efficient verification of bug fixes
SLIDE 14
TA–14
Automated testing advantages – 2
n Permits quick and efficient verification of bug fixes n Speeds debugging and reduces “bad fixes”
SLIDE 15
TA–15
Automated testing advantages – 3
n Permits quick and efficient verification of bug fixes n Speeds debugging and reduces “bad fixes” n Allows consistent capture and analysis of test results
SLIDE 16
TA–16
Automated testing advantages – 4
n Permits quick and efficient verification of bug fixes n Speeds debugging and reduces “bad fixes” n Allows consistent capture and analysis of test results n Its cost is recovered through increased productivity and better
system quality
SLIDE 17
TA–17
Automated testing advantages – 5
n Permits quick and efficient verification of bug fixes n Speeds debugging and reduces “bad fixes” n Allows consistent capture and analysis of test results n Its cost is recovered through increased productivity and better
system quality
n More time to design better tests, rather than entering and
reentering tests
SLIDE 18
TA–18
Automated testing advantages – 6
n Unlike manual testing, it is not error-prone and tedious
SLIDE 19
TA–19
Automated testing advantages – 7
n Unlike manual testing, it is not error-prone and tedious n Only feasible way to do regression testing
SLIDE 20
TA–20
Automated testing advantages – 8
n Unlike manual testing, it is not error-prone and tedious n Only feasible way to do regression testing n Necessary to run long and complex tests
SLIDE 21
TA–21
Automated testing advantages – 9
n Unlike manual testing, it is not error-prone and tedious n Only feasible way to do regression testing n Necessary to run long and complex tests n Easily evaluates large quantities of output
SLIDE 22
TA–22
Limitations and caveats
n A skilled tester can use his experience to react to manual
testing results by improvising effective tests
SLIDE 23
TA–23
Limitations and caveats – 2
n A skilled tester can use his experience to react to manual
testing results by improvising effective tests
n Automated tests are expensive to create and maintain
SLIDE 24