Changes between Version 3 and Version 4 of CORE_TEST_HELPERS_R0


Ignore:
Timestamp:
01/27/09 03:54:47 (16 years ago)
Author:
sriggins
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified CORE_TEST_HELPERS_R0

    v3 v4  
    66 
    77== Overview == 
    8 ^(Provide a brief overview of the whole task in its first revision. Stick to the current revision of the task, but keep an eye to the whole task progress, and stay alert for possible smells.)^ 
     8 
     9Write a class to help with writing unit tests.  Unit tests should be easy to write, so that we write them more often and quicker.  There are many common operations that a unit test might need.   
     10 
     11Write a unit test helper module that provides the ability to execute a menu item, find a book with a given name, return the current page of the book, change pages of the book, return the number of frames on a page, return the number of pages, etc. 
    912 
    1013== Task requirements == 
    11 ^(List the necessary requirements that the task must fulfill.)^ 
    1214 
     15 * Write a class to help with writing unit tests 
     16 * Add utility methods such as: 
     17   * Finding the current book 
     18   * Finding the current page 
     19   * Finding the current frame 
     20   * Finding the number of pages 
     21   * Executing a menu command (such as "File" "Close", "Book" "New Page" etc) 
     22   * Programmatically building books 
     23    * Obtaining a tmp book in a tmp directory 
     24    * Having this book auto closed/deleted when the unit finishes running 
     25    * Importing resources easier 
     26 * Create a wiki tutorial page on how to use this class to assist in writing unit tests 
     27    
    1328== Task result == 
    14 ^(List the end product of the task (for example "Source code", "Wiki page", etc.))^ 
     29 
     30The result of this task is code and documentation 
    1531 
    1632== Implementation idea == 
    17 ^(Provide some rough implementation idea(s).)^ 
     33 
     34 * Use your experience writing unit tests to help determine what else to add 
     35 * You should be able to simply get an instance of this class and query the data 
     36 * Also look at programmatically building books 
    1837 
    1938== Related == 
    20 ^(Add links to related tasks that could be useful or helpful.)^ 
     39 
     40Many tasks are related to this one, as it covers all unit tests. 
    2141 
    2242== How to demo == 
    23 ^(Provide instructions for demonstration of the task.)^ 
     43 
     44Show where to find the unit helper tutorial  
    2445 
    2546= Design =