Learn Software Testing by Dallas Technologies.

12
SOFTWARE TESTING DALLAS TECHNOLOGIES

Transcript of Learn Software Testing by Dallas Technologies.

Page 1: Learn Software Testing by Dallas Technologies.

SOFTWARE TESTINGDALLAS TECHNOLOGIES

Page 2: Learn Software Testing by Dallas Technologies.

Why testing is Important• All Software has defects (bugs)• All software products are ‘prototypes’ (in my view)• Software products are getting larger and more

complicated - Vista 40% larger than XP @ over 50 million LOC

• Software Engineering is not as mature as other disciplines e.g. Civil Engineering

• Software is written by people – people make mistakes• Software testing looks to find the most important defects

as early as possible – increasing confidence that the software meets specification

Page 3: Learn Software Testing by Dallas Technologies.

Who’s involved in testing?• Requirements Analysts – Inspections, Peer Reviews• Developers – Code Inspection, Unit Testing• Testers – System & Integration Testing• Trainers – Training materials production• Users – User Acceptance Testing• Project Managers – Scheduling, Resourcing, Risks,

Issues, Defect Stats• Everybody is responsible for quality - NASA

Page 4: Learn Software Testing by Dallas Technologies.

Fundamentals of Software Testing

• Software testing needs planning, tests need specifying, once executed they need results recording, and post completion should be easily auditable

Plan Specify

Execute Record Check

Page 5: Learn Software Testing by Dallas Technologies.

The importance of a planned approach

• Important to map out a strategy that will give the greatest level of confidence in the product

• ‘Ad hoc’ testing may find errors, but may not be cost effective

• Testing should focus on areas where defects are most likely

• All testing should have a reason• Question “Is a test that doesn’t find an error a good test or not?”

• Essential to plan what needs to be done and then itemise how it is to be achieved.

Page 6: Learn Software Testing by Dallas Technologies.

Testing Mantra• Mantra - Spiritual conduit, words or vibrations that instil

concentration in the devotee.

• Test as early as possible

• Gather as much knowledge of the application under test as possible

• Look for vulnerabilities

• Build ‘Bug Taxonomies’ (Classification)

• Use Quicktests (and publicise the fact)

Page 7: Learn Software Testing by Dallas Technologies.

Testing Mantra• You can always think of another test – but should you?

• Concept of ‘Good enough Testing’• Practicality over dogma• Everybody has responsibility for ‘shipping’ the product

• Record all tests/defects/issues/recommendations

• Testers are not the sole arbiters of quality• Testing only shows problems exist – not their absence

• Never, ever, ever make it personal• Defects are issues with products and process not people• Good working relationship is essential for good products

Page 8: Learn Software Testing by Dallas Technologies.

Document Hierarchy - Test Plan

Page 9: Learn Software Testing by Dallas Technologies.

What is a Test Plan - 1 Test plan is

tool to help plan the testing activity product to inform others of test process

Includes Document control Objectives Scope Approach – Schedule, Priorities, Deliverables,

Resources, Responsibilities Risks/Contingences Sign-off/Approval

Page 10: Learn Software Testing by Dallas Technologies.

What is a Test Plan - 2

• Produced by Test Lead/Project Manager• Published to Project/Programme• Not constrained by format – living document• Enough information to be used by anyone to test

the product

Page 11: Learn Software Testing by Dallas Technologies.

Review• Software Testing is important for increasing confidence that the

software meets specification• To get the best results from testing certain fundamentals should be

followed• Testing is part of software development• Different software testing techniques enhance our ability to test• Many different types of software testing exist – which we can

combine into single test cases/scenarios

Page 12: Learn Software Testing by Dallas Technologies.

THANK YOU