Changes between Version 1 and Version 2 of GitHubTracPluginTests

Show
Ignore:
Timestamp:
09/15/10 05:28:31 (11 years ago)
Author:
cotto
Comment:

reorganize a bit, add another test case

Legend:

Unmodified
Added
Removed
Modified
  • GitHubTracPluginTests

    v1 v2  
    1212== Test Cases == 
    1313 
    14 === clean install === 
     14When running these test cases, use the below generic configuration options unless otherwise specified. 
     15 
     16{{{ 
     17[github] 
     18apitoken = <your token here> #get this from https://github.com/account 
     19autofetch = 0 
     20browser = http://github.com/parrot/parrot/commit/ 
     21closestatus = "closed" 
     22enable_revmap = 1 
     23long_tooltips = 1 
     24svn_revmap = revmap 
     25}}} 
     26 
     27=== clean install (enabled) === 
    1528 
    1629''The plugin can be installed onto a db which doesn't have an existing svn_revmap table.'' 
    1730 
    1831Procedure:  
    19  1. Disable the plugin via Trac's conf/trac.ini file. 
    20  1. Set enable_revmap to 1, set svn_revmap to a valid dump of git log's output. 
    21  1. Delete the svn_revmap db table. 
    22  1. Enable the plugin via Trac's config file. 
    23  1. Verify that Trac shows the need for an upgrade. 
     32 1. Start with the generic config options. 
     33 1. Delete the svn_revmap db table, if it exists. 
     34 1. Enable the plugin via Trac's config file (or via trac,ini). 
     35 1. '''Verify that Trac shows the need for an upgrade.''' 
    2436 1. Upgrade Trac. 
    25  1. Verify that Trac no longer needs to be upgraded. 
     37 1. '''Verify that Trac no longer needs to be upgraded.''' 
    2638 
     39=== clean install (disabled) === 
     40 
     41''The plugin doesn't require the extra db table if revmaps are disabled.'' 
     42 
     43Procedure:  
     44 1. Start with the generic config options, but with enable_revmap = 0. 
     45 1. Delete the svn_revmap db table, if it exists. 
     46 1. Enable the plugin via Trac's config file (or via trac,ini). 
     47 1. '''Verify that Trac does not need to be upgraded''' 
    2748 
    2849== TODO == 
    2950 
    30  * everything works fine without the revmap 
     51 
    3152 * import of an incorrect revmap fails gracefully 
    3253 * tooltips work (shortened and unshortened)