FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
Testing & Debugging Blog: Tester Puzzle Answers
Testing and Debugging
BREAKPOINTS

Test, Debug, Release, Rinse, Repeat ...

by Kevin Carlson
THE BOOK OF TESTING

Thoughts From a Braidy Tester

by Michael Hunter
April 26, 2006

Tester Puzzle Answers

Last week's quiz was testing bold in a word processor. Think this is simple to test? Try these test cases on for size:

  • Single character
  • Entire word
  • Part of a word
  • Space
  • Tab
  • Bullet
  • Entire sentence
  • Part of a sentence
  • Punctuation
  • Hyperlinks
  • Entire paragraph
  • Bulleted paragraph
  • Multiple paragraphs
  • Entire page
  • Entire document
  • Selection includes bold + not bold
  • Characters from each Unicode range
  • Removing bolding of above does
  • UI response when entire selection is bolded
  • UI response when partial selection is bolded
  • Single undo
  • Single redo
  • Multiple undos
  • Multiple redos
  • Redo more times than you've undone
  • Save/close/reopen
  • Save to a previous version of the application
  • Migrate to a new version of the application
  • Each of the above across cut/copy/paste to/from owner document
  • Each of the above across cut/copy/paste to/from other document
  • Each of the above across cut/copy/paste to/from other application
  • Each of the above across save to/load from other document types (e.g., HTML, plain text)
  • Backspace into a bolded line, then continue typing
  • Backspace a bolded line into a non-bolded line, then continue typing
  • Backspace a bolded line into a bolded line, then continue typing
  • Combine with font variations, including italics, fonts, font sizes
  • Combine with paragraph variations such as text alignment and line spacing
  • Combine with page variations such as margins and columns
  • Bolding via hotkeys (typically Control+B in applications that run on Microsoft Windows)
  • Unbolding via hotkeys
  • Print
  • Bold and unbold portions of read-only document
  • Bold and unbold portions of a Document Rights Management managed document
  • Check what affect each of the above tests has on file size.
  • Check what affect each of the above tests has on resource (e.g., memory, threads) usage
  • Check whether performance seems reasonable (or, if you actually have a specification, whether performance meets the parameters set by the spec)
  • Investigate whether the operating system or other portions of the platform affect the user's ability to bold and unbold text.

To quote participant Sherman, "Boy there is many…". Kudos to Sherman for not only getting just about all of these cases but also finding two bugs! Although it looks like one's fixed in the new version of Microsoft Word and I think the other may be by design. <g/>

Posted by The Braidy Tester at 07:30 AM  Permalink




 
INFO-LINK