Changes between Version 1 and Version 2 of GitHubTracPluginTests
- Timestamp:
- 09/15/10 05:28:31 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GitHubTracPluginTests
v1 v2 12 12 == Test Cases == 13 13 14 === clean install === 14 When running these test cases, use the below generic configuration options unless otherwise specified. 15 16 {{{ 17 [github] 18 apitoken = <your token here> #get this from https://github.com/account 19 autofetch = 0 20 browser = http://github.com/parrot/parrot/commit/ 21 closestatus = "closed" 22 enable_revmap = 1 23 long_tooltips = 1 24 svn_revmap = revmap 25 }}} 26 27 === clean install (enabled) === 15 28 16 29 ''The plugin can be installed onto a db which doesn't have an existing svn_revmap table.'' 17 30 18 31 Procedure: 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.''' 24 36 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.''' 26 38 39 === clean install (disabled) === 40 41 ''The plugin doesn't require the extra db table if revmaps are disabled.'' 42 43 Procedure: 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''' 27 48 28 49 == TODO == 29 50 30 * everything works fine without the revmap 51 31 52 * import of an incorrect revmap fails gracefully 32 53 * tooltips work (shortened and unshortened)