How the Grinch Stole Software Testing

Post on 08-Jul-2015

278 views 1 download

Tags:

description

Learn how to: § Permit static analysis rule exemptions under exceptional circumstances. § Know when it's time to disable or reconfigure a static analysis rule. § Exempt problematic files or code chunks from static analysis. § Design more robust regression tests. § Adopt a sustainable workflow for keeping tests in synch with the evolving application.

Transcript of How the Grinch Stole Software Testing

How the Grinch Stole How the Grinch Stole TestingTesting

Noise, Noise, Noise! Noise, Noise, Noise!

Open and hide your control panel

Join audio:•Choose “Mic & Speakers” to use VoIP•Choose “Telephone” and dial using the information provided

Submit questions and comments via the Questions panel

Note: Today’s presentation is being recorded and will be provided within 48 hours.

Your Participation

GoToWebinar Housekeeping

The Grinch didn’t think very much

of testing,In fact he found

the whole process un-resting.

The Grinch didn’t think very much

of testing,In fact he found

the whole process un-resting.

All the Noise Noise Noise

What is Noise?

Incorrect messages

Unhelpful messages

Irrelevant messages

Anything I don't need to hear

Anything I don't want to hear

Why is Testing Noisy?

Poor tools

Poor config

Poor strategy

Poor design

Poor policy

Test Design

Plan

Code review

Does the test prove my point?

Does failure pinpoint the problem?

Test Configuration

Testing code you won't change

Running tests you plan to fix "someday"

- someday will never come

Toning it Down

Suppressions

Unit test assertions

Static analysis

By file

By type

By age

By severity

Parasoft Proprietary and Confidential 8

Test Maintenance

Run regularly – Entropy Increases

Turn off low value to noise ratio tests

Keeping it clean is better than periodic mass cleaning

Relavence

Am I testing for things that are happening

QA results

Code reviews

field bugs

For things expected to happen?

Security

performance

Risk management

Will it happen?

Is it worth preventing?

Owasp top ten example

Q&A

Email

info@parasoft.com

webinar@parasoft.com

Blogs:

http://alm.parasoft.com

Social

Facebook: https://www.facebook.com/parasoftcorporation

Twitter: @Parasoft @MustRead4Dev

LinkedIn: http://www.linkedin.com/company/parasoft

Parasoft Proprietary and Confidential

Inspired by “How the Grinch Stole Christmas” by Doctor Seuss