SlideShare a Scribd company logo
2
Most read
3
Most read
Topics in Testing Software 
Documentation 
[Reading assignment: Chapter 12, pp. 183-191]
The good old days 
• Software documentation was: 
– a readme.txt file copied onto the software’s 
floppy disk 
– a 1 page insert put into the shrink-wrapped 
package containing the software 
– comments in the source code! 
– Unix man pages are still in vogue, however … 
• Testers ran a spell checker on the file and 
that was about the extent of testing the 
documentation.
Today … 
• Much of the non-code is the software 
documentation, which requires much effort to 
produce. 
• Documentation is now a major part of a 
software system. 
– It might exceed the amount of source code! 
– It might be integrated into the software (e.g., help 
system) 
• Testers have to cover the code and the 
documentation. 
– Assuring that the documentation is correct is part 
of a software tester’s job.
Classes of 
software documentation 
• Packaging text and graphics 
• Marketing material, ads, and other inserts 
• Warranty/registration 
• End User License Agreement (EULA) 
• Labels and stickers 
• Installation and setup instructions 
• User’s manual 
• Online help 
• Tutorials, wizards, and computer-based training 
• Samples, examples, and templates 
• Error messages
Importance of 
documentation testing 
• Improves usability 
– Not all software was written for the Mac :-) 
• Improves reliability 
– Testing the documentation is part of black-box 
testing. 
– A bug in the user manual is like a bug in the 
software. 
• Lowers support cost 
– The exercise of writing the documentation helped 
debug the system.
Testing software documents 
• Loosely coupled to the code: 
– E.g., user manuals, packaging fliers. 
– Apply techniques on specification testing and 
software inspection. 
– Think of it as technical editing or proofreading. 
• Tightly coupled to the code: 
– E.g., documents are an integral part of the 
software, such as a training system or TurboTax 
Deluxe (fancy videos, hyperlinked manual, etc). 
– Apply techniques such as black-box and white-box 
testing.
Documentation 
testing checklist 
• Audience: 
– E.g., make sure documentation is not too novice or too 
advanced. 
• Terminology: 
– Is it suitable for the audience? 
– Terms used consistently? 
– Abbreviations for acronyms? 
• Content and subject matter: 
– Appropriate subjects covered? 
– No subjects missing? 
– Proper depth? 
– Missing features described accidentally?
Documentation 
testing checklist (cont’d) 
• Just the facts: 
– All information technically correct? 
– Correct table of contents, index, chapter references? 
– Correct website URLs, phone numbers? 
• Step by step: 
– Any missing steps? 
– Compared tester results to those shown in the documentation? 
• Figures and screen captures: 
– Accurate and precise? 
– Are they from the latest version of the software? 
– Are the figure captions correct? 
• Samples and examples: 
– Do all the examples work as advertised? 
• Spelling and grammar
Auto-generated code 
documents 
• Tools such as: 
/** 
* The time class represents a moment of time. 
* 
* author John Doe 
*/ 
class Time { 
/** 
– Doxygen 
– Javadoc 
– ROBODoc 
– POD 
– TwinText 
can be used to auto-generate the code documents 
from source code comments and create HTML 
reference manuals. 
• Code documents can be organized into a reference 
guide style that enables programmers to quickly look 
up functions or classes. 
• Comprehensive survey of code documentation tools: 
* Constructor that sets the time to a given 
* value. 
* param timemillis is a number of milliseconds 
* passed since Jan 1. 1970 
*/ 
Time(int timemillis) { ... } 
– http://en.wikipedia.org/wiki/Comparison_of_documentation_generators
Discussion … 
• Who should write software 
documentation? 
• Why is documentation a second-class 
citizen compared to code? 
• Why is keeping code/executables and 
documentation consistent difficult? 
– Is the problem inherent or due to sloppy 
software engineering?
You now know … 
• … the definition of software 
documentation 
• … the importance of testing software 
documentation 
• … what to look for when testing 
software documentation 
• … methods for testing software 
documentation

More Related Content

What's hot (20)

PPT
QA process Presentation
Nadeeshani Aththanagoda
 
PPT
Software Testing Life Cycle
Udayakumar Sree
 
PDF
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Edureka!
 
PPT
Role Of Qa And Testing In Agile 1225221397167302 8
a34sharm
 
PDF
Regression Testing - An Overview
BugRaptors
 
PPTX
So you think you can write a test case
Srilu Balla
 
PDF
Agile model
DivyaStephen3
 
PPTX
Software testing
balamurugan.k Kalibalamurugan
 
PPT
Manual testing ppt
Santosh Maranabasari
 
DOCX
Traceability matrix
MuthuKumar A
 
PPTX
Software testing life cycle
Garuda Trainings
 
PPTX
SOFTWARE TESTING
Priyanka Karancy
 
PPT
TEST EXECUTION AND REPORTING
suhasreddy1
 
PPTX
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Ankit Prajapati
 
PPT
Introduction to Software Engineering
Majane Padua
 
DOC
Testing documents
suhasreddy1
 
PPTX
scenario testing in software testing
durgaaarthi
 
PPTX
Software Quality Assurance
ShashankBajpai24
 
PPT
Testing fundamentals
Raviteja Chowdary Adusumalli
 
PDF
What is Web Testing?
QA InfoTech
 
QA process Presentation
Nadeeshani Aththanagoda
 
Software Testing Life Cycle
Udayakumar Sree
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Edureka!
 
Role Of Qa And Testing In Agile 1225221397167302 8
a34sharm
 
Regression Testing - An Overview
BugRaptors
 
So you think you can write a test case
Srilu Balla
 
Agile model
DivyaStephen3
 
Manual testing ppt
Santosh Maranabasari
 
Traceability matrix
MuthuKumar A
 
Software testing life cycle
Garuda Trainings
 
SOFTWARE TESTING
Priyanka Karancy
 
TEST EXECUTION AND REPORTING
suhasreddy1
 
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Ankit Prajapati
 
Introduction to Software Engineering
Majane Padua
 
Testing documents
suhasreddy1
 
scenario testing in software testing
durgaaarthi
 
Software Quality Assurance
ShashankBajpai24
 
Testing fundamentals
Raviteja Chowdary Adusumalli
 
What is Web Testing?
QA InfoTech
 

Viewers also liked (16)

PPTX
Software testing ppt
Heritage Institute Of Tech,India
 
PDF
Configuration testing
farouq umar
 
PPTX
Strategies For Software Test Documentation
Vishwak Solution
 
PPTX
Test effort estimation
ramesh kumar
 
PDF
Software testing
ankityadav.ec
 
PPT
Wideband Delphi Estimation
Aniruddha Chakrabarti
 
PPT
Test Estimation Techniques
Nishant Worah
 
PPT
Security testing
baskar p
 
PPT
Software cost estimation
Dr. C.V. Suresh Babu
 
PPT
Software Estimation Techniques
kamal
 
PPT
Software cost estimation
djview
 
PDF
Software Testing Process & Trend
KMS Technology
 
PPTX
UNIT TESTING PPT
suhasreddy1
 
DOC
My Project Report Documentation with Abstract & Snapshots
Usman Sait
 
PDF
Incremental
Waed Shagareen
 
PPT
Software Testing Fundamentals
Chankey Pathak
 
Software testing ppt
Heritage Institute Of Tech,India
 
Configuration testing
farouq umar
 
Strategies For Software Test Documentation
Vishwak Solution
 
Test effort estimation
ramesh kumar
 
Software testing
ankityadav.ec
 
Wideband Delphi Estimation
Aniruddha Chakrabarti
 
Test Estimation Techniques
Nishant Worah
 
Security testing
baskar p
 
Software cost estimation
Dr. C.V. Suresh Babu
 
Software Estimation Techniques
kamal
 
Software cost estimation
djview
 
Software Testing Process & Trend
KMS Technology
 
UNIT TESTING PPT
suhasreddy1
 
My Project Report Documentation with Abstract & Snapshots
Usman Sait
 
Incremental
Waed Shagareen
 
Software Testing Fundamentals
Chankey Pathak
 
Ad

Similar to documentation-testing.ppt (20)

PPT
documentation-testing.ppt
Gaurav Nigam
 
PPT
documentation-testing.ppt
Gaurav Nigam
 
PPT
documentation-testing.ppt
Gaurav Nigam
 
PPT
ppt2
sampane6
 
PPT
Jittu
Bhavanislide2
 
PPT
documentation-testing.ppt
Gaurav Nigam
 
PPT
Jittu
sampane6
 
PPT
Jittu
Bhavani Testone
 
PPT
Jittu
Bhavanislide2
 
PPT
Jittu
Bhavanislide2
 
PPT
Testing the documentation
Abdul Basit
 
PPT
Softwareengineeringfundamentalssvetlinnakov 1233295163644547-1
gururguru01
 
PDF
Beginners guide to software testing
Kevalkumar Shah
 
PDF
167312
Rathna Priya
 
PDF
software testing for beginners
Bharathi Ashok
 
PDF
Documentation Example Testing: Value & Impact
Dallas Kennedy
 
PDF
GlobalLogic QA Webinar “What does it take to become a Test Engineer”
GlobalLogic Ukraine
 
PPT
Stage 5 - Documentation
Haa'Meem Mohiyuddin
 
PPT
Software Engineering Fundamentals Svetlin Nakov
nazeer pasha
 
PPT
Software Engineering Fundamentals - Svetlin Nakov
Svetlin Nakov
 
documentation-testing.ppt
Gaurav Nigam
 
documentation-testing.ppt
Gaurav Nigam
 
documentation-testing.ppt
Gaurav Nigam
 
ppt2
sampane6
 
documentation-testing.ppt
Gaurav Nigam
 
Jittu
sampane6
 
Testing the documentation
Abdul Basit
 
Softwareengineeringfundamentalssvetlinnakov 1233295163644547-1
gururguru01
 
Beginners guide to software testing
Kevalkumar Shah
 
167312
Rathna Priya
 
software testing for beginners
Bharathi Ashok
 
Documentation Example Testing: Value & Impact
Dallas Kennedy
 
GlobalLogic QA Webinar “What does it take to become a Test Engineer”
GlobalLogic Ukraine
 
Stage 5 - Documentation
Haa'Meem Mohiyuddin
 
Software Engineering Fundamentals Svetlin Nakov
nazeer pasha
 
Software Engineering Fundamentals - Svetlin Nakov
Svetlin Nakov
 
Ad

More from Roopa slideshare (20)

PDF
Magnet basics
Roopa slideshare
 
PDF
what_is_science.pdf
Roopa slideshare
 
PDF
What is science
Roopa slideshare
 
TXT
roo-OB-PicklistMultiSelect
Roopa slideshare
 
PPT
Presentations-Tips.ppt
Roopa slideshare
 
PDF
Std10-Maths-EM-1.pdf
Roopa slideshare
 
TXT
slide.txt
Roopa slideshare
 
PPTX
new.pptx
Roopa slideshare
 
PPTX
new.pptx
Roopa slideshare
 
TXT
slide.txt
Roopa slideshare
 
RTF
slide1.rtf
Roopa slideshare
 
PDF
Std10-Maths-EM-1.pdf
Roopa slideshare
 
PDF
Std10-Maths-EM-1.pdf
Roopa slideshare
 
TXT
this is USer
Roopa slideshare
 
PDF
Daily inspiration
Roopa slideshare
 
TXT
slide.txt
Roopa slideshare
 
Magnet basics
Roopa slideshare
 
what_is_science.pdf
Roopa slideshare
 
What is science
Roopa slideshare
 
roo-OB-PicklistMultiSelect
Roopa slideshare
 
Presentations-Tips.ppt
Roopa slideshare
 
Std10-Maths-EM-1.pdf
Roopa slideshare
 
slide.txt
Roopa slideshare
 
slide.txt
Roopa slideshare
 
slide1.rtf
Roopa slideshare
 
Std10-Maths-EM-1.pdf
Roopa slideshare
 
Std10-Maths-EM-1.pdf
Roopa slideshare
 
this is USer
Roopa slideshare
 
Daily inspiration
Roopa slideshare
 
slide.txt
Roopa slideshare
 

documentation-testing.ppt

  • 1. Topics in Testing Software Documentation [Reading assignment: Chapter 12, pp. 183-191]
  • 2. The good old days • Software documentation was: – a readme.txt file copied onto the software’s floppy disk – a 1 page insert put into the shrink-wrapped package containing the software – comments in the source code! – Unix man pages are still in vogue, however … • Testers ran a spell checker on the file and that was about the extent of testing the documentation.
  • 3. Today … • Much of the non-code is the software documentation, which requires much effort to produce. • Documentation is now a major part of a software system. – It might exceed the amount of source code! – It might be integrated into the software (e.g., help system) • Testers have to cover the code and the documentation. – Assuring that the documentation is correct is part of a software tester’s job.
  • 4. Classes of software documentation • Packaging text and graphics • Marketing material, ads, and other inserts • Warranty/registration • End User License Agreement (EULA) • Labels and stickers • Installation and setup instructions • User’s manual • Online help • Tutorials, wizards, and computer-based training • Samples, examples, and templates • Error messages
  • 5. Importance of documentation testing • Improves usability – Not all software was written for the Mac :-) • Improves reliability – Testing the documentation is part of black-box testing. – A bug in the user manual is like a bug in the software. • Lowers support cost – The exercise of writing the documentation helped debug the system.
  • 6. Testing software documents • Loosely coupled to the code: – E.g., user manuals, packaging fliers. – Apply techniques on specification testing and software inspection. – Think of it as technical editing or proofreading. • Tightly coupled to the code: – E.g., documents are an integral part of the software, such as a training system or TurboTax Deluxe (fancy videos, hyperlinked manual, etc). – Apply techniques such as black-box and white-box testing.
  • 7. Documentation testing checklist • Audience: – E.g., make sure documentation is not too novice or too advanced. • Terminology: – Is it suitable for the audience? – Terms used consistently? – Abbreviations for acronyms? • Content and subject matter: – Appropriate subjects covered? – No subjects missing? – Proper depth? – Missing features described accidentally?
  • 8. Documentation testing checklist (cont’d) • Just the facts: – All information technically correct? – Correct table of contents, index, chapter references? – Correct website URLs, phone numbers? • Step by step: – Any missing steps? – Compared tester results to those shown in the documentation? • Figures and screen captures: – Accurate and precise? – Are they from the latest version of the software? – Are the figure captions correct? • Samples and examples: – Do all the examples work as advertised? • Spelling and grammar
  • 9. Auto-generated code documents • Tools such as: /** * The time class represents a moment of time. * * author John Doe */ class Time { /** – Doxygen – Javadoc – ROBODoc – POD – TwinText can be used to auto-generate the code documents from source code comments and create HTML reference manuals. • Code documents can be organized into a reference guide style that enables programmers to quickly look up functions or classes. • Comprehensive survey of code documentation tools: * Constructor that sets the time to a given * value. * param timemillis is a number of milliseconds * passed since Jan 1. 1970 */ Time(int timemillis) { ... } – http://en.wikipedia.org/wiki/Comparison_of_documentation_generators
  • 10. Discussion … • Who should write software documentation? • Why is documentation a second-class citizen compared to code? • Why is keeping code/executables and documentation consistent difficult? – Is the problem inherent or due to sloppy software engineering?
  • 11. You now know … • … the definition of software documentation • … the importance of testing software documentation • … what to look for when testing software documentation • … methods for testing software documentation