47
TDDD04: Test plans and software defect taxonomies Lena Buffoni [email protected]

TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

TDDD04:Testplansandsoftwaredefecttaxonomies

[email protected]

Page 2: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Lectureplan

3

• Test planning (ISO/IEC/IEEE 29119)• Scripted vs Exploratory testing• Defect taxonomies (ISO/IEC/IEEE 1044)

Page 3: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Scriptedtesting

4

Testing performed based on a documented test script created from requirements, design and code • Allow division of labor• Tests can be easily understood and repeated• Easier to automate tests• Coverage can be easily defined and measured

Page 4: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Overall/leveltestplan

5

• Overall test plan: Global goals for the project

• Level test plan: goals at a specific testing level (unit, module, …)

Page 5: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

6

OrganizationalTestProcess

TestPlanningProcess

TestmonitoringandControlProcess

TestCompletionProcess

TestDesign&Implementation

Process

TestEnvironmentSet-up&

MaintenanceProcess

TestExecutionProcess

TestIncidentReportingProcess

TestManagementProcesses

DynamicTestProcesses

ISO/IEC/IEEE, “ISO/IEC/IEEE international standard for software and systems engineering – software testing part 2: Test processes,” ISO/IEC/IEEE 29119-2:2013(E), pp. 1–68, Sept 2013.

Page 6: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

UnderstandContext

OrganizeTestPlan

DevelopmentIdentify&

AnalyzeRisksIdentifyRiskMitigationApproaches

DesignTestStrategy

DetermineStaffing&Scheduling

RecordTestPlan

GainConsensusonTestPlan

CommunicateTestPlanAndMakeAvailable

Scope

TestPlanDevelopmentSchedule

Analysed Risks

MitigationApproaches

TestStrategy

Schedule,StaffingProfileDraftTest

Plan

ApprovedTestPlan

Test Planning Process

Page 7: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

8

OrganizationalTestProcess

TestPlanningProcess

TestmonitoringandControlProcess

TestCompletionProcess

TestDesign&Implementation

Process

TestEnvironmentSet-up&

MaintenanceProcess

TestExecutionProcess

TestIncidentReportingProcess

TestManagementProcesses

DynamicTestProcesses

ISO/IEC/IEEE, “ISO/IEC/IEEE international standard for software and systems engineering – software testing part 2: Test processes,” ISO/IEC/IEEE 29119-2:2013(E), pp. 1–68, Sept 2013.

Page 8: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Identifyfeaturesets

DeriveTestConditions

DeriveTestCoverageItems

DeriveTestCases

AssembleTestSets

DeriveTestProcedures

TestDesignSpecification

TestCaseSpecification

TestProcedureSpecification

Test Design & Implementation Process

Feature Sets

Test Conditions

Test Coverage Items

Test Cases

Test Sets Test Procedures & Test Scripts

1

2

3

4

5

6

Page 9: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Example

10

“The system shall accept insurance applicants over the age of 18 and under the age of 80 years on the day of application based on their input age in whole years; all others shall be rejected. Accepted applicants of 70 and over shall receive a warning that in the event of a claim they shall pay an excess of $1000.”

Page 10: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Derivetestconditions

11

• Completion criterion? – “The Test Completion Criterion is that 100 %

Equivalence Partition Coverage is achieved and all test cases must result in a "pass" status on execution.”

• Valid input? Invalid input?

Whatifwenotethefollowing:40<=Age<=55resultsinadiscountmessage(unspecifiedinthedescription).Howdowehandlethat?

Page 11: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Derivetestcoverageitems

12

• Equivalence class items to cover

Page 12: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Derivetestcases

13

• Select representatives from each class to achieve 100% equivalence class coverage

Page 13: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Assembletestsets

14

• What can be automated? What must be manually tested?

Page 14: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Derivetestprocedures

15

• Ordering of test cases based on exposure/dependencies

• Traceability

Page 15: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Limitations

16

• Very dependent on the quality of system requirements

• Inflexible, if some unusual behavior is detected, it will not be pursued

• Focus can shift to documentation

Page 16: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Exploratorytesting

17

IEEE definition : “a type of unscripted experience-based testing in which the tester spontaneously designs and executes tests based on the tester's existing relevant knowledge, prior exploration of the test item (including the results of previous tests), and heuristic "rules of thumb" regarding common software behaviors and types of failure”

Page 17: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Example

18

- Create a mental model- Define one or more tests to disprove the model- Execute the tests and observe the outcome- Evaluate the outcome against the model- Repeat

Page 18: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Definitions

19

Schedule: an uninterrupted block of time devoted to testing (1-2 hours)

Charter: a guide defined before the testing session covering- what to test- available documentation- test tactics- risks involved

Page 19: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Usefulwhen

20

- the next test case cannot be determined in advance and needs to be chosen based on previous experience

- it is necessary to provide rapid feedback on a products quality

- a defect is detected, to explore the scope and variations of the defect

Exploratorytesting=/=randomtesting!

Page 20: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Limitations

21

- Does not prevent defects- Incompatible with agile development- Does not detect omission errors- Can focus excessively on a particular area- Hard to know when to stop testing

Page 21: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Faultclassification

Software defect taxonomies: what kind is it? • Useful to guide test planning (e.g. have we covered all kinds of

faults) • Beizer (1984): Four-level classification • Kaner et al. (1999): 400 different classifications Severity classification: how bad is it? • Important to define what each level means • Severity does not equal priority • Beizer (1984): mild, moderate, annoying, disturbing, serious,

very serious, extreme, intolerable, catastrophic, infectious. • ITIL (one possibility): severity 1, severity 2

22

Page 22: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Failureclassification:Reminder

Error(Mistake)

Fault(defect,bug)

Failure

Incident(symptom)

Test

Testcase

exercises

mayinduce

maybeobservedas

mayleadto

maycause

23

Defectclassification

Page 23: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

FaultvsdefectinISO/IEC/IEEE1044

24

• A fault is an executed defect• A defect can be found before it is executed

(eg: by inspection)

Multiplefailurescanbecausedbythesamedefect!

Page 24: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Taxonomies

25

A taxonomy is a classification of things into ordered groups or categories that indicate natural hierarchical relationships.- Guide the test case design- Understand the defects better- Help determine coverage that test-cases are

providing- Can be created at different levels

Page 25: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

26

Softwareleveltaxonomy:IEEEStandardClassificationforSoftwareAnomalies

Page 26: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

27DefectattributesAttribute Definition

DefectID Uniqueidentifierforthedefect.

Description Descriptionofwhatismissing,wrong,orunnecessary.

Status Currentstatewithindefectreportlifecycle.

Asset Thesoftwareasset(product,component,module,etc.)containingthedefect.

Artifact Thespecificsoftwareworkproductcontainingthedefect.

Versiondetected Identificationofthesoftwareversioninwhichthedefectwasdetected.

Versioncorrected Identificationofthesoftwareversioninwhichthedefectwascorrected.

Priority Rankingforprocessingassignedbytheorganizationresponsiblefortheevaluation,resolution,andclosureofthedefectrelativetootherreporteddefects.

Sevefity Thehighestfailureimpactthatthedefectcould(ordid)cause,asdeterminedby(fromtheperspectiveof)theorganizationresponsibleforsoftwareengineering.

Probability Probabilityofrecurringfailurecausedbythisdefect.

Effect Theclassofrequirementthatisimpactedbyafailurecausedbyadefect.

Page 27: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

28Defectattributes- continuedAttribute Definition

Type Acategorizationbasedontheclassofcodewithinwhichthedefectisfoundortheworkproductwithinwhichthedefectisfound.

Mode Acategorizationbasedonwhetherthedefectisduetoincorrectimplementationorrepresentation,theadditionofsomethingthatisnotneeded,oranomission.

Insertionactivity Theactivityduringwhichthedefectwasinjected/inserted(i.e.,duringwhichtheartifactcontainingthedefectoriginated).

Detectionactivity Theactivityduringwhichthedefectwasdetected(i.e.,inspectionortesting).

Failurereference(s) Identifierofthefailure(s)causedbythedefect.

Changereference Identifierofthecorrectivechangerequestinitiatedtocorrectthedefect.

Disposition Finaldispositionofdefectreportuponclosure.

Page 28: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Examples 29

Effect Functionality Actualorpotentialcauseoffailuretocorrectlyperformarequiredfunction(orimplementationofafunctionthatisnotrequired),includinganydefectaffectingdataintegrity.

Effect Usability Actualorpotentialcauseoffailuretomeetusability(easeofuse)requirements.

Effect Security Actualorpotentialcauseoffailuretomeetsecurityrequirements,suchasthoseforauthentication,authorization,privacy/confidentiality,accountability(e.g.,audittrailoreventlogging),andsoon.

Effect Performance Actualorpotentialcauseoffailuretomeetperformancerequirements(e.g.,capacity,computationalaccuracy,responsetime,throughput,oravailability).

Effect Serviceability Actualorpotentialcauseoffailuretomeetrequirementsforreliability,maintainability,orsupportability(e.g.,complexdesign,undocumentedcode,ambiguousorincompleteerrorlogging,etc.).

Effect Other Would/doesnotcauseanyoftheaboveeffects.

Page 29: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Examples 30

Effect Functionality Actualorpotentialcauseoffailuretocorrectlyperformarequiredfunction(orimplementationofafunctionthatisnotrequired),includinganydefectaffectingdataintegrity.

Type Data Defectindatadefinition,initialization,mapping,access,oruse,asfoundinamodel,specification,orimplementation.Examples:VariablenotassignedinitialvalueorflagnotsetIncorrectdatatypeorcolumnsizeIncorrectvariablenameusedValidrangeundefinedIncorrectrelationshipcardinalityindatamodelMissingorincorrectvalueinpicklist

Type Data DefinitionDefectinspecificationorimplementationofaninterface(e.g.,betweenuserandmachine,betweentwointernalsoftwaremodules,betweensoftwaremoduleanddatabase,betweeninternalandexternalsoftwarecomponents,betweensoftwareandhardware,etc.).Examples:IncorrectmoduleinterfacedesignorimplementationIncorrectreportlayout(designorimplementation)IncorrectorinsufficientparameterspassedCrypticorunfamiliarlabelormessageinuserinterfaceIncompleteorincorrectmessagesentordisplayedMissingrequiredfieldondataentryscreen

Type Data Defectindecisionlogic,branching,sequencing,orcomputationalalgorithm,asfoundinnaturallanguagespecificationsorinimplementationlanguage.Examples:MissingelseclauseIncorrectsequencingofoperationsIncorrectoperatororoperandinexpressionMissinglogictotestfororrespondtoanerrorcondition(e.g.,returncode,endoffile,nullvalue,etc.)InputvaluenotcomparedwithvalidrangeMissingsystemresponseinsequencediagram

Page 30: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

31Failure classification

Failure ID Unique identifier for the failure.

Status Current state within failure report life cycle.

Title Brief description of the failure for summary reporting purposes.

Description Full description of the anomalous behavior and the conditions under which it occurred, including the sequence of events and/or user actions that preceded the failure.

Environment Identification of the operating environment in which the failure was observed.

Configuration Configuration details including relevant product and version identifiers.

Severity As determined by (from the perspective of) the organization responsible for software engineering.

Analysis Final results of causal analysis on conclusion of failure investigation.

Disposition Final disposition of the failure report.

Page 31: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

32Failure classification - continued

Observed by Person who observed the failure (and from whom additional detail can be obtained).

Opened by Person who opened (submitted) the failure report.

Assigned to Person or organization assigned to investigate the cause of the failure.

Closed by Person who closed the failure report.

Date observed Date/time the failure was observed.

Date opened Date/time the failure report is opened (submitted).

Date closed Date/time the failure report is closed and the final disposition is assigned.

Test reference Identification of the specific test being conducted (if any) when the failure occurred.

Incident reference

Identification of the associated incident if the failure report was precipitated by a service desk or help desk call/contact.

Defect reference Identification of the defect asserted to be the cause of the failure.

Failure reference Identification of a related failure report.

Page 32: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Problem1

33

Sue calls service desk and reports she cannot log in to timesheet system because the password field is missing from the login screen. In this example, Sue has a problem in that she cannot log in, caused by a failure wherein the password field did not appear on the login screen, which was in turn caused by a defect inserted during coding of the Login.asp artifact.

Page 33: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

34Entity Attribute Problem1Failure FailureID F080001

Failure Status OpenFailure Title Failure:missingpasswordfieldFailure Description ThepasswordfieldismissingfromtheloginscreenFailure Environment Chicago-websrvr23Failure Configuration TimeSheetv6.4Failure Severity CriticalFailure Analysis CodeerrorFailure DispositionFailure Observedby SueFailure Openedby WilliamsFailure AssignedtoFailure ClosedbyFailure Dateobserved April1,2008Failure Dateopened April1,2008Failure DateclosedFailure Testreference N/A Failure Incidentreference S080002Failure Defectreference D080234Defect DefectID D080234Defect Description Passwordfieldnotcorrectlyimplementedincode

Page 34: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

35

Entity Attribute Problem1Defect Status OpenDefect Asset TS-srvrDefect Artifact Login.aspDefect Versiondetected V6.4Defect VersioncorrectedDefect PriorityDefect Severity CriticalDefect Probability HighDefect Effect FunctionalityDefect Type InterfaceDefect Mode MissingDefect Insertionactivity CodingDefect Detectionactivity ProductionDefect Failurereference F080001Defect Changereference C080049Defect Disposition

Page 35: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Problem2

36

Joe calls service desk and reports he cannot log in to timesheet system because the password field is missing from the login screen.This example is similar to Problem 1 and serves to illustrate that two distinct failures (events) can be caused by a single defect (condition).

Page 36: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

37

Entity Attribute Problem2

Failure FailureID F080002

Failure Status Open

Failure Title Failure:missingpasswordfield—duplicate

Failure Description Thepasswordfieldismissingfromtheloginscreen

Failure Environment Chicago-websrvr23

Failure Configuration TimeSheetv6.4

Failure Severity Critical

Failure Analysis Codeerror

Failure Testreference N/A

Failure Incidentreference S080003

Failure Defectreference D080234

Page 37: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Problem3

38

During customer qualification testing, Sam observed that the color of the font does not match the requirements document section 4.2.1.3. This example illustrates the difference between the failure (appearance of incorrect color on screen) and the defect that caused it (incorrect data value assigned to a constant in the code).

Page 38: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

39

Entity Attribute Problem3Failure FailureID FID001Failure Status OpenFailure Title Display—wrongcolorfontFailure Description Fontcolordoesnotmeetsystemspecifications:blackinsteadofblueFailure Environment WindowsXPFailure Configuration Display_version_4.0Failure Severity MinorFailure Analysis N/A Failure Testreference Disp_font_ver_1Failure Incidentreference HD001Failure Defectreference F080001Defect DefectID C080049Defect Description Constantcontaininghexadecimalhttpcolorcodewas000000insteadof0000FFDefect Status OpenDefect Asset StockTradeRDefect Artifact Cdisplay.cDefect Priority LowDefect Severity MinorDefect Probability HighDefect Effect UsabilityDefect Type DataDefect Mode Wrong

Page 39: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Problem4

40

During a peer review for software requirements for a new financial management system, Alice discovers that values are in the requirements as thousands of dollars instead of as millions of dollars. This example illustrates classification of a defect detected directly, prior to any failure occurring.

Page 40: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

41Entity Attribute Problem4Failure FailureID N/A Failure Status N/A Failure Title N/A Failure Description N/A Failure Environment N/A Failure Configuration N/A

Failure Severity N/A Failure Analysis Designdidnotincludelowbatterypower

Failure Testreference N/A Failure Incidentreference N/A Failure Defectreference N/A Defect DefectID FM003Defect Description Incorrectmonetaryunitsspecifiedinrequirements

Defect Status ClosedDefect Asset FinanceForAllDefect Artifact FMSYS_ReqsDefect Priority HighDefect Severity MajorDefect Probability LowDefect Effect FunctionalityDefect Type DataDefect Mode Wrong

Page 41: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Problem5

42

Company A's battery ran out of power because there was no low-power warning. The design of a security system monitoring system did not include a warning for low battery power, despite the fact that this feature was specified in the requirements. In this example, the defect was not detected until a failure occurred in a production environment.

Page 42: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

43Entity Attribute Problem5Failure FailureID DID005Failure Status ClosedFailure Title MissinglowbatterypoweralertFailure Description AlowbatterypoweralertismissingfromCompanyA'ssecurity

monitoringsystemFailure Environment A_sysmon_001Failure ConfigurationFailure Severity CriticalFailure AnalysisFailure Testreference Securemon09Failure Incidentreference SEC054Failure Defectreference SD089Defect DefectID SD089Defect Description DesigndidnotincludelowbatteryalertaccordingtoCompanyA's

requirementsDefect Status ClosedDefect Asset SecureITDefect Artifact DesignSpecificationDefect Priority HighDefect Severity MajorDefect Probability HighDefect Effect FunctionalityDefect Type OtherDefect Mode Missing

Page 43: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

44

Entity Attribute Problem1 Problem2 Problem3 Problem4 Problem5

Failure FailureID F080001 F080002 FID001 N/A DID005

Failure Status Open Open Open N/A Closed

Failure Title Failure:missingpasswordfield

Failure:missingpasswordfield—duplicate

Display—wrongcolorfont

N/A Missinglowbatterypoweralert

Failure Description Thepasswordfieldismissingfromtheloginscreen

Thepasswordfieldismissingfromtheloginscreen

Fontcolordoesnotmeetsystemspecifications:blackinsteadofblue

N/A AlowbatterypoweralertismissingfromCompanyA'ssecuritymonitoringsystem

Failure Environment

Chicago-websrvr23

Chicago-websrvr23

WindowsXP

N/A A_sysmon_001

Failure Configuration

TimeSheetv6.4

TimeSheetv6.4

Display_version_4.0

N/APower_config_v01

Failure Severity Critical Critical Minor N/A Critical

Failure Analysis Codeerror Coloroffontdoesnotmatch

N/A Designdidnotincludelowbattery

Page 44: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

45

Projectleveltaxonomy:SEIRiskIdentificationTaxonomy

Page 45: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

SEIRiskIdentificationTaxonomy

46

• Developed as a checklist to ensure all potential risks are covered

3 Main categories:– Product engineering– Development environment – Program constraints

Page 46: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

47

Class Element Attribute

ProductEngineering

Requirements

Stability

Completeness

Clarity

Validity

Feasibility

Precedent

Scale

DesignFunctionality

Difficulty

Page 47: TDDD04: Test plans and software defect taxonomiesTDDD04/lectures/slides/2017/TestPlan.pdfIEEE definition : “atype of unscripted experience-based testing in which the tester spontaneously

Thankyou!Questions?