Test automation Building automatically repeatable test suites Test - - PowerPoint PPT Presentation

test automation
SMART_READER_LITE
LIVE PREVIEW

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 1

Test automation

Building automatically repeatable test suites

slide-2
SLIDE 2

TA–2

Test automation

n Test automation is software that automates any aspect of

testing

slide-3
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
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
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
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
SLIDE 7

TA–7

Automated testing steps

n Exercise the implementation with the automated test suite

slide-8
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
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
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
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
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
SLIDE 13

TA–13

Automated testing advantages

n Permits quick and efficient verification of bug fixes

slide-14
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
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
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
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
SLIDE 18

TA–18

Automated testing advantages – 6

n Unlike manual testing, it is not error-prone and tedious

slide-19
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
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
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
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
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
SLIDE 24

TA–24

Limitations and caveats – 3

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 n If the implementation is changing frequently, maintaining the

test suite might be difficult