SlideShare a Scribd company logo
Documentation Example Testing:
Value & Impact
Dallas C. Kennedy
Ab Initio Software LLC
Society for Technical Communication – New England
InterChange Conference 2017
UMass Lowell
What Is Doc Example Testing All About?
• In the context of software … although you might do similar things
elsewhere ….
• Examples are essential to users in any documentation and structured
learning beyond the most superficial.
Explain it to me … Show me … Involve me …
… in ascending order of effectiveness
• Testing your doc examples …
… keeps examples working,
… keeps examples relevant,
… tests new and updated features as they appear
… and much more!
More about the speaker
• Technical writer in the Boston area since 2000
• Currently at Ab Initio Software in Lexington* …
… Previously at MathWorks in Natick
• Wide experience in documenting complex software systems for
advanced technical and data transformation applications
• Co-author of multiple documentation sets …
… sole author of several significant product documentation suites and books
• About 15 years experience in testing documentation examples
• Previous experience in physics and astrophysics research, including
creating, testing, and using numerical programs for analysis and prediction
* Talk not sponsored or endorsed by Ab Initio
Testing Your Documentation
and Products
What are the value and impact of
example testing?
As you test and validate your doc examples, you are doing something
vital. You are:
• Keeping your examples working and relevant
• Pre-emptively removing a major source of user frustration and
support requests, saving your company money and time
• Testing new features, and upgrades to existing features, as they
emerge from development
• Developing insight into products, features, tasks, and customers
Deeper cumulative impact
Pursued consistently and long term, doc example testing
accomplishes less obvious and more profound things:
• It shapes how you choose and construct examples.
• Can your example be tested properly? If not, why? If not, maybe it
shouldn’t be a doc example, or maybe it needs to be rewritten.
• It keeps you from tolerating bad examples whose weaknesses are
obscured by fancy pictures and words.
• It checks your products for regressions – if your examples are
supposed to continue to work as new versions of software appear.
• Developers can be surprised by this, but they shouldn’t be:
Realistic examples and edge cases often test high-level, complex functioning
missed by simple tests (like unit tests).
How Doc Example Testing Works in Practice
Where do documentation examples come from?
Examples have many sources:
• Development
• Quality engineering and its test cases …
… especially more complex cases and work flows
• Technical marketing
• Training
• Customers  Lots of “street cred” when you publish examples and
applications openly co-authored with customers
Two broad approaches to testing …
• Automated – Convenient, scalable, fast
• Examples can be automatically co-tested with demos and the product itself.
• Automated testing must often meet important restrictions.
• Manual – Sometimes more appropriate for complex examples: complex
workflows often most valuable tests, most difficult to implement.
… and related in a deep way to doc usability testing – testing that checks the usability, not of
your product, but of your documentation and specifically of your examples.
• Doc usability testing is time-consuming and requires willing, live human testers
in a usability lab. Done right, it is almost always worthwhile. Tests user’s reaction
to examples and features.
Several things happening at once worth disentangling:
• The product and various discrete features
• The example
• How well the doc presents the product and feature
• How well the doc presents the example
Automated testing
• Most easily implemented with code or code-like examples.
• Most sophisticated versions of testing automatically extract and
reformat examples from the documentation and pass the example
code to a product test harness for execution and evaluation.
• Requires coordination of processes: product and feature
development and testing, and documentation authoring and build.
Doc
source
Extracted and
reformatted
examples
Product
test
harness
Example
test
results
Automated testing (continued)
• Graphical interface (GUI) testing more difficult to implement,
fewer tools to automate, although not impossible
• GUI-based examples: various approaches available
• If scriptable, entire example can be automated with quality testing
on the development side in the engineering test suite.
Some GUI-based products have scripting or similar languages behind the GUI
application. Others can provide handles to graphical objects.
• In other cases, can use automated GUI tools like AutoIt to develop a
macro- or script-like automated test, often with real system scripts.
• Can always be tested manually, at cost of consuming more time.
• Co-test with training and marketing videos and other materials.
Different levels of testing rigor
• Basic and least rigorous – Verification of procedures: Are
prerequisites met? Does example finish? Does it freeze or crash?
• Deeper rigor – Parsing of syntax, compilation of code, verification of
structure and elements of example
• Deepest rigor – Evaluation of specific results – numeric,
alphanumeric, graphical, etc. Sets of baselines.
• Baselines = Numeric and other specific test results
Baseline testing is tricky in an environment where results can change
from run to run; for example:
• Dynamic engineering and scientific simulations
• Generation of random numbers or sequences
Dependence on platform and machine state
Building Relationships
The other side of example testing
• Example testing checks products and examples.
• It also builds relationships in your organization.
• Technology work is usually divided into functional areas:
• Development = primary engineering of products and features
• Quality or Testing = verification and validation of product functionality
• Documentation = explanation to users of product
• Marketing* = showing current and potential customers what your products can
do and how they might solve customers’ problems
• Training* = educating new and current users about products and features
• Example testing touches each of these areas and requires cooperation
among all of them, especially between Documentation and Quality.
* Customer-facing
Creates and enhances flow of information
about products, features, and examples
Products
Features
Examples
Development
Quality
Documentation
Marketing
Training
Mutually reinforcing supports of each:
• Development generates products, features, in response to projected
or actual customer needs  examples
• Quality builds product test harness, generates test cases 
examples   test cases from Development, Doc, Marketing
• Documentation documents examples, tests examples and test cases
with Quality  more test cases
• Marketing studies and forecasts customers’ problems  test cases
 feedback from customers
• Training uses and possibly generates examples  examples and test
cases for Doc and Quality  feedback from experience with users
Building most important relationship …
… with customers!
• Important to concentrate documenting and testing examples on more
complete, more realistic examples …
… not unit tests and other basic functional tests.
Basic testing important for Development and Quality, not so much for Doc,
Marketing, or Training.
• Such examples are what customers need and want.
Documenting and validating such examples – keeping them
fresh, relevant, and functional – together form an essential
source of value to your product’s users.
Some References
• Software testing:
• B. Laboon, A Friendly Introduction to Software Testing
• M. Feathers, Working Effectively with Legacy Code
• No good book sources on testing documentation examples –
Limited material available on doc usability testing
• See latest and greatest online courses from Coursera, EdX, Udacity,
MS Virtual Academy, and so on, concerning software testing and
especially writing test cases.
Email: dalet@stanfordalumni.org
Email: dkennedy@abinitio.com
LinkedIn: linkedin.com/in/dckennedy/

More Related Content

PDF
Ux, UI and US v1.2
PDF
So You Think You Can Write a Test Case - XBOSoft Webinar
PPT
Prvt file test
PPT
Ruud van Houwelingen - What Next for MBT? Implementing with Tools
PDF
Henrik Andersson - Exploratory Testing Champions - EuroSTAR 2010
PDF
Req2014_Fall-Final
DOC
Jyoti Gupta _IBM india pvt ltd.docx
PPTX
'Growing to a Next Level Test Organisation' by Tim Koomen
Ux, UI and US v1.2
So You Think You Can Write a Test Case - XBOSoft Webinar
Prvt file test
Ruud van Houwelingen - What Next for MBT? Implementing with Tools
Henrik Andersson - Exploratory Testing Champions - EuroSTAR 2010
Req2014_Fall-Final
Jyoti Gupta _IBM india pvt ltd.docx
'Growing to a Next Level Test Organisation' by Tim Koomen

What's hot (19)

PPT
Bart Knaack - The Truth About Model-Based Quality Improvements
PDF
Check upload1
PDF
Tuhin Mitra: How I Automate My Negative Tests
PPT
'Continuous Quality Improvements – A Journey Through The Largest Scrum Projec...
PPT
Lauri Pietarinen - What's Wrong With My Test Data
PDF
Swtesting
PDF
IEEE 2015 Final Year Project Steps Guide
PDF
Final year project | Guide
PPT
Otto Vinter - Analysing Your Defect Data for Improvement Potential
PPT
Johan Jonasson - Introducing Exploratory Testing to Save the Project
PDF
TestPRO Profile v4.1
PPT
Dynamic Testing
PDF
Clive Bates - A Pragmatic Approach to Improving Your Testing Process - EuroST...
DOC
Thirtha_Prasad_4+yrs_tester
PPT
'Customer Testing & Quality In Outsourced Development - A Story From An Insur...
PPT
Derk jan de Grood - ET, Best of Both Worlds
PPTX
Usability testing 2013.12.20.
PPT
Functional testing
PPT
Michael Snyman - Software Test Automation Success
Bart Knaack - The Truth About Model-Based Quality Improvements
Check upload1
Tuhin Mitra: How I Automate My Negative Tests
'Continuous Quality Improvements – A Journey Through The Largest Scrum Projec...
Lauri Pietarinen - What's Wrong With My Test Data
Swtesting
IEEE 2015 Final Year Project Steps Guide
Final year project | Guide
Otto Vinter - Analysing Your Defect Data for Improvement Potential
Johan Jonasson - Introducing Exploratory Testing to Save the Project
TestPRO Profile v4.1
Dynamic Testing
Clive Bates - A Pragmatic Approach to Improving Your Testing Process - EuroST...
Thirtha_Prasad_4+yrs_tester
'Customer Testing & Quality In Outsourced Development - A Story From An Insur...
Derk jan de Grood - ET, Best of Both Worlds
Usability testing 2013.12.20.
Functional testing
Michael Snyman - Software Test Automation Success
Ad

Similar to Documentation Example Testing: Value & Impact (20)

PDF
Finding the right authoring tool - STC Carolina Event 2018
PPTX
Software testing
PDF
Usability Testing for Qualitative Researchers - QRCA NYC Chapter event
PDF
Final year projects - Step By step Guide
PPTX
Can testing be Agile
PPTX
Agile Testing and Test Automation
PPTX
11 - Evaluating Framework in Interaction Design_new.pptx
PDF
Nature vs. Nurture: Building Great Test Teams
PPT
! Testing for agile teams
DOCX
Manual testing interview questions and answers
PPTX
Software testing
PDF
Prototyping and Usability Testing your designs
PPTX
Improve Product Design with High Quality Requirements
PDF
Tune Agile Test Strategies to Project and Product Maturity
PPTX
體驗劇場_1050524_W14_易用性測試_楊政達
PPTX
Software Testing
PDF
What_is_Software_Testing.pdf
PDF
PA2557_SQM_Lecture2 - Quality Basics.pdf
PPTX
ГАННА КАПЛУН «Тестування на основі персон: ідея, інструменти, приклади»
PPTX
Specification by example
Finding the right authoring tool - STC Carolina Event 2018
Software testing
Usability Testing for Qualitative Researchers - QRCA NYC Chapter event
Final year projects - Step By step Guide
Can testing be Agile
Agile Testing and Test Automation
11 - Evaluating Framework in Interaction Design_new.pptx
Nature vs. Nurture: Building Great Test Teams
! Testing for agile teams
Manual testing interview questions and answers
Software testing
Prototyping and Usability Testing your designs
Improve Product Design with High Quality Requirements
Tune Agile Test Strategies to Project and Product Maturity
體驗劇場_1050524_W14_易用性測試_楊政達
Software Testing
What_is_Software_Testing.pdf
PA2557_SQM_Lecture2 - Quality Basics.pdf
ГАННА КАПЛУН «Тестування на основі персон: ідея, інструменти, приклади»
Specification by example
Ad

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Spectroscopy.pptx food analysis technology
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
cuic standard and advanced reporting.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPT
Teaching material agriculture food technology
Encapsulation theory and applications.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Programs and apps: productivity, graphics, security and other tools
Unlocking AI with Model Context Protocol (MCP)
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Electronic commerce courselecture one. Pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Getting Started with Data Integration: FME Form 101
Spectroscopy.pptx food analysis technology
The Rise and Fall of 3GPP – Time for a Sabbatical?
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
MIND Revenue Release Quarter 2 2025 Press Release
A comparative analysis of optical character recognition models for extracting...
cuic standard and advanced reporting.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Teaching material agriculture food technology

Documentation Example Testing: Value & Impact

  • 1. Documentation Example Testing: Value & Impact Dallas C. Kennedy Ab Initio Software LLC Society for Technical Communication – New England InterChange Conference 2017 UMass Lowell
  • 2. What Is Doc Example Testing All About? • In the context of software … although you might do similar things elsewhere …. • Examples are essential to users in any documentation and structured learning beyond the most superficial. Explain it to me … Show me … Involve me … … in ascending order of effectiveness • Testing your doc examples … … keeps examples working, … keeps examples relevant, … tests new and updated features as they appear … and much more!
  • 3. More about the speaker • Technical writer in the Boston area since 2000 • Currently at Ab Initio Software in Lexington* … … Previously at MathWorks in Natick • Wide experience in documenting complex software systems for advanced technical and data transformation applications • Co-author of multiple documentation sets … … sole author of several significant product documentation suites and books • About 15 years experience in testing documentation examples • Previous experience in physics and astrophysics research, including creating, testing, and using numerical programs for analysis and prediction * Talk not sponsored or endorsed by Ab Initio
  • 5. What are the value and impact of example testing? As you test and validate your doc examples, you are doing something vital. You are: • Keeping your examples working and relevant • Pre-emptively removing a major source of user frustration and support requests, saving your company money and time • Testing new features, and upgrades to existing features, as they emerge from development • Developing insight into products, features, tasks, and customers
  • 6. Deeper cumulative impact Pursued consistently and long term, doc example testing accomplishes less obvious and more profound things: • It shapes how you choose and construct examples. • Can your example be tested properly? If not, why? If not, maybe it shouldn’t be a doc example, or maybe it needs to be rewritten. • It keeps you from tolerating bad examples whose weaknesses are obscured by fancy pictures and words. • It checks your products for regressions – if your examples are supposed to continue to work as new versions of software appear. • Developers can be surprised by this, but they shouldn’t be: Realistic examples and edge cases often test high-level, complex functioning missed by simple tests (like unit tests).
  • 7. How Doc Example Testing Works in Practice
  • 8. Where do documentation examples come from? Examples have many sources: • Development • Quality engineering and its test cases … … especially more complex cases and work flows • Technical marketing • Training • Customers  Lots of “street cred” when you publish examples and applications openly co-authored with customers
  • 9. Two broad approaches to testing … • Automated – Convenient, scalable, fast • Examples can be automatically co-tested with demos and the product itself. • Automated testing must often meet important restrictions. • Manual – Sometimes more appropriate for complex examples: complex workflows often most valuable tests, most difficult to implement. … and related in a deep way to doc usability testing – testing that checks the usability, not of your product, but of your documentation and specifically of your examples. • Doc usability testing is time-consuming and requires willing, live human testers in a usability lab. Done right, it is almost always worthwhile. Tests user’s reaction to examples and features. Several things happening at once worth disentangling: • The product and various discrete features • The example • How well the doc presents the product and feature • How well the doc presents the example
  • 10. Automated testing • Most easily implemented with code or code-like examples. • Most sophisticated versions of testing automatically extract and reformat examples from the documentation and pass the example code to a product test harness for execution and evaluation. • Requires coordination of processes: product and feature development and testing, and documentation authoring and build. Doc source Extracted and reformatted examples Product test harness Example test results
  • 11. Automated testing (continued) • Graphical interface (GUI) testing more difficult to implement, fewer tools to automate, although not impossible • GUI-based examples: various approaches available • If scriptable, entire example can be automated with quality testing on the development side in the engineering test suite. Some GUI-based products have scripting or similar languages behind the GUI application. Others can provide handles to graphical objects. • In other cases, can use automated GUI tools like AutoIt to develop a macro- or script-like automated test, often with real system scripts. • Can always be tested manually, at cost of consuming more time. • Co-test with training and marketing videos and other materials.
  • 12. Different levels of testing rigor • Basic and least rigorous – Verification of procedures: Are prerequisites met? Does example finish? Does it freeze or crash? • Deeper rigor – Parsing of syntax, compilation of code, verification of structure and elements of example • Deepest rigor – Evaluation of specific results – numeric, alphanumeric, graphical, etc. Sets of baselines. • Baselines = Numeric and other specific test results Baseline testing is tricky in an environment where results can change from run to run; for example: • Dynamic engineering and scientific simulations • Generation of random numbers or sequences Dependence on platform and machine state
  • 14. The other side of example testing • Example testing checks products and examples. • It also builds relationships in your organization. • Technology work is usually divided into functional areas: • Development = primary engineering of products and features • Quality or Testing = verification and validation of product functionality • Documentation = explanation to users of product • Marketing* = showing current and potential customers what your products can do and how they might solve customers’ problems • Training* = educating new and current users about products and features • Example testing touches each of these areas and requires cooperation among all of them, especially between Documentation and Quality. * Customer-facing
  • 15. Creates and enhances flow of information about products, features, and examples Products Features Examples Development Quality Documentation Marketing Training
  • 16. Mutually reinforcing supports of each: • Development generates products, features, in response to projected or actual customer needs  examples • Quality builds product test harness, generates test cases  examples   test cases from Development, Doc, Marketing • Documentation documents examples, tests examples and test cases with Quality  more test cases • Marketing studies and forecasts customers’ problems  test cases  feedback from customers • Training uses and possibly generates examples  examples and test cases for Doc and Quality  feedback from experience with users
  • 17. Building most important relationship … … with customers! • Important to concentrate documenting and testing examples on more complete, more realistic examples … … not unit tests and other basic functional tests. Basic testing important for Development and Quality, not so much for Doc, Marketing, or Training. • Such examples are what customers need and want. Documenting and validating such examples – keeping them fresh, relevant, and functional – together form an essential source of value to your product’s users.
  • 18. Some References • Software testing: • B. Laboon, A Friendly Introduction to Software Testing • M. Feathers, Working Effectively with Legacy Code • No good book sources on testing documentation examples – Limited material available on doc usability testing • See latest and greatest online courses from Coursera, EdX, Udacity, MS Virtual Academy, and so on, concerning software testing and especially writing test cases. Email: dalet@stanfordalumni.org Email: dkennedy@abinitio.com LinkedIn: linkedin.com/in/dckennedy/