how to write an efficient defect case & save money

35
How to Write an Efficient Defect Case & Save Money By: Thomas Burke Add conference logo here September 1, 2015

Upload: mediacurrent

Post on 17-Feb-2017

363 views

Category:

Technology


4 download

TRANSCRIPT

Page 1: How to Write an Efficient Defect Case & Save Money

How to Write an Efficient Defect Case & Save Money By: Thomas Burke

Add conference logo here

September 1, 2015

Page 2: How to Write an Efficient Defect Case & Save Money

Thomas BurkeQA Lead

[email protected]@Twitter

Page 3: How to Write an Efficient Defect Case & Save Money

My Background● Have been in the QA business for over 15 years.

● Started in the IT business as a tech support specialist and then moved on to setting up and supporting LAN's.

● My QA experience has taken me from being a QA Analyst to a QA Manager and a QA Lead.

● Graduated from Southern Polytechnic State University with a Master's degree in Quality. Earned BA from Rutgers.

● I have a great passion for QA and improving processes. Enjoy training and mentoring people. Have a positive outlook and believe that things will get better with continuous improvement.

● Worked for a number of fortune companies such as GTE, Ernst & Young, Zenith, Epson, Lockheed, AT&T, and Cox Enterprises as well a number of privately owned businesses such as Mediacurrent.

@Mediacurrent

Page 4: How to Write an Efficient Defect Case & Save Money

Design/Theming● Usability Testing

● Responsive Design

● Drupal Theming

● Annotated Wireframes

@Mediacurrent

Development● Drupal Support

● Custom Module Development

● Large Scale Systems Integration

● Security & Performance Expertise

We help organizations build highly impactful, elegantly designed Drupal websites that achieve the strategic results you need.

Digital Strategy● Content Strategy

● Content Generation

● Result Metrics

● Marketing Automation Integration

Page 5: How to Write an Efficient Defect Case & Save Money

Our Clients

5

Page 6: How to Write an Efficient Defect Case & Save Money

● What is a defect?

● Types of defects

● Who writes a bug report?

● When should a bug report be written?

● Elements of a good defect case

● What’s next after defect is written up?

● Tips on reducing defects@Mediacurrent

Agenda

Page 7: How to Write an Efficient Defect Case & Save Money

Why should we care about good bug

reporting?

@Mediacurrent

Page 8: How to Write an Efficient Defect Case & Save Money

Better bug reporting saves you money $$$

@Mediacurrent

Page 9: How to Write an Efficient Defect Case & Save Money

How does it save money$

● Does not waste time trying to duplicate the issue. This impacts everyone involved in the project including developers, front-end, project managers, and QA.

● Time = $ Waste cost $

● Poorly written defects will not be tested right and are often sent back to be fixed which wastes time

● The better the bug report is written and can be reproduced, the sooner it will get fixed with the least amount of time invested.

@Mediacurrent

Page 11: How to Write an Efficient Defect Case & Save Money
Page 13: How to Write an Efficient Defect Case & Save Money

Types of defects 1

● Requirement / Design

● Front-end / Theming

● Coding

● Training

● Environment

@Mediacurrent

Page 14: How to Write an Efficient Defect Case & Save Money

Types of defects 2

● Performance

● Security

● Enhancement - becomes a case

● Browser / Mobile

● User Experience

● User Error

@Mediacurrent

Page 15: How to Write an Efficient Defect Case & Save Money

Who writes a Bug Report?

@Mediacurrent

Page 16: How to Write an Efficient Defect Case & Save Money

Defect Authors

● Developers

● Project Managers

● Quality Assurance

● Front End

● The Customer

● Management

@Mediacurrent

Page 17: How to Write an Efficient Defect Case & Save Money

When should a Bug Report be written?

@Mediacurrent

Page 18: How to Write an Efficient Defect Case & Save Money

Timing is Key

● As soon as an issue has been found it should be logged

● Need fast feedback to fix the issue early

● Once the code is in QA

● If development is not complete then bounce case back to the developer

● When you see an issue then do a screenshot and then see if it can be duplicated.

@Mediacurrent

Page 19: How to Write an Efficient Defect Case & Save Money

Elements of a Good Defect Case

@Mediacurrent

Page 20: How to Write an Efficient Defect Case & Save Money

Breakdown of a Bug Case● Title of the bug

● Description

● Steps

● Acceptance Criteria

● Expected results

● Screenshot or Video

● Severity

● Assigned to

● Status

● Reference to requirement

@Mediacurrent

Page 21: How to Write an Efficient Defect Case & Save Money

Title of the Bug

● Very Important

● First thing everyone reads

● Should be short and concise

● Remember that more details can be added in the description field

@Mediacurrent

Page 22: How to Write an Efficient Defect Case & Save Money

Bug Title Example

Good title will include: Project Name - Sprint#- Page bug is found on - short description of the issue.

Example of good title:

ABC Project Bug: Sprint3 - Home page - Contact Us link returns 404 error

Example of a bad title:

Link does not work

@Mediacurrent

Page 23: How to Write an Efficient Defect Case & Save Money

Description Example - Bad

Examples of bad descriptions:

- When I move my mouse over this stupid icon, it does not wiggle like it should

- Clicking on this link doesn’t do anything

- This page seems slow to me

@Mediacurrent

Page 24: How to Write an Efficient Defect Case & Save Money

Description Example - Good

Example a good description:

When you go to the home page at abccompany.com/home and click on the ‘Contact Us’ link in the header - a 404 error is returned. This occurs in all browsers

Steps:

1. Navigate to the home page of abccompany.com/home 2. Click on the ‘Contact Us’ link3. A 404 error will be returned4. Expected results: clicking on link should redirect user to

the ‘Contact Us ‘ page.- abccompany.com/contact-us

@Mediacurrent

Page 25: How to Write an Efficient Defect Case & Save Money

Screen Shots

● Lots of screenshot tools available

● Adds good visual picture of the issue

● Most bug reports should have a screen shot

● Add arrows or text to screen shot

@Mediacurrent

Page 26: How to Write an Efficient Defect Case & Save Money

Screen Shot Example

@Mediacurrent

Page 27: How to Write an Efficient Defect Case & Save Money

Screen capture tools

● Skitch

● Snag-It

● Jing Project - does videos as well

● Keyboard - crtl / print screen

● FireShot - for Firefox

● Faststone Capture

@Mediacurrent

Page 29: How to Write an Efficient Defect Case & Save Money

How Severe is the Bug?

@Mediacurrent

Page 30: How to Write an Efficient Defect Case & Save Money

Is the bug like this ?

@Mediacurrent

Page 31: How to Write an Efficient Defect Case & Save Money

Bug Reporting

● Assigned to field - assign to who can fix the issue

● Who to assign it to: Depends on the project - some have all issues assigned to the Project manager - Others you can assign to lead developer or front end developer

● Status - set to open initially. Once fix has been successfully tested then approve or close the issue.

● Reference - if the issue can be traced to a feature or requirement do that. Helps with traceability and finding root cause of the defect.

@Mediacurrent

Page 32: How to Write an Efficient Defect Case & Save Money

What is next?

● When a defect has been fixed then testers need to verify

● If issue is fixed then case can be closed or approved

● If not fixed then it goes back to developers or frontend

@Mediacurrent

Page 33: How to Write an Efficient Defect Case & Save Money

Tips

● Communication is key

● Ask the team if they have seen an issue before logging it

● Search to see if issue has been logged before

● Try to prevent duplicates

● Work with the quick fix

● If not quick then log it

● Toward the end of release or sprint then consult with Project Manager before assigning the defect. It may not need to be fixed for that release.

@Mediacurrent

Page 34: How to Write an Efficient Defect Case & Save Money

“Quality can not be inspected into a product or service; it must be built into it.”

~Harold F. Dodge

@Mediacurrent