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.
2. GoToWebinar Housekeeping
Your Participation
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.
3. All the Noise Noise Noise
The Grinch didn’t
think very much
of testing,
In fact he found
the whole process
un-resting.
4. What is Noise?
Incorrect messages
Unhelpful messages
Irrelevant messages
Anything I don't need to hear
Anything I don't want to hear
6. Test Design
Plan
Code review
Does the test prove my point?
Does failure pinpoint the problem?
7. Test Configuration
Testing code you won't change
Running tests you plan to fix "someday"
- someday will never come
8. Toning it Down
Suppressions
Unit test assertions
Static analysis
By file
By type
By age
By severity
laitnedifnoC dna yrateirporP tfosaraP 8
9. Test Maintenance
Run regularly – Entropy Increases
Turn off low value to noise ratio tests
Keeping it clean is better than periodic mass cleaning
10. Relavence
Am I testing for things that are happening
QA results
Code reviews
field bugs
For things expected to happen?
Security
performance
11. Risk management
Will it happen?
Is it worth preventing?
Owasp top ten example
12. 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
Inspired by “How the Grinch Stole Christmas” by Doctor Seuss
laitnedifnoC dna yrateirporP tfosaraP