platform-vcm-home/2_0_testing.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4, Wed May 22 20:28:44 2002 UTC revision 1.5, Thu Jun 13 14:19:08 2002 UTC
# Line 9  Line 9 
9    
10    <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">    <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
11  </head>  </head>
12    
13    <body>    <body>
14    
15  <h1>Section 1: General CVS Tests</h1>  <h1>Section 1: General CVS Tests</h1>
16  <h3>Interoperability</h3>  
17    <h2>CVS Repositories View</h2>
18    
19    <h3>Adding and Discarding Locations</h3>
20    These test require an existing repository which contains projects.
21  <ol>  <ol>
22    <li>Bringing in java projects without a .project - should prompt for project    <li>Add a location to the view.</li>
23   type to create.</li>    <li>Ensure that invalid location information is handled properly in the New Location Wizard.</li>
24      <li>View location properties page and ensure that information is correct and can be changed.</li>
25      <li>Also change property values when local projects are shared with the location and ensure
26      the project's sharing information is changed when the location's properties are changed.
27      <li>Discard a location and ensure it is removed. Also ensure that discarding is not permitted when
28      projects in the local workspace are shared with the location.</li>
29    </ol>
30    
31    <h3>Project Checkout</h3>
32    These test require an existing repository which contains projects, at least one of which
33    does not contain a .project file.
34    <ol>
35      <li>Perform "Checkout as Project". Ensure that repeating results in overwrite prompt.</li>
36      <li>Perform "Checkout as..." and enter custom name and/or custom location.</li>
37      <li>Perform "Checkout as..." on a remote project that does not have a .project file and
38      ensure that the user is prompted for project type to create.</li>
39    </ol>
40    
41    <h3>Browsing Tags</h3>
42    These test require an existing repository which contains projects that have been tagged with both
43    version and branch tags.
44    <ol>
45      <li>Perform "Configure Branches and Versions..." and select some branch and version tags to be remembered.</li>
46      <li>Expand the respositories entry to view ...
47      <ul>
48      <li>projects in HEAD,</li>
49      <li>branches and projects in BRANCHES,</li>
50      <li>projects and versions in VERSIONS.</li>
51      </ul>
52      <li>Perform "Checkout as..." on a remote project that does not have a .project file and
53      ensure that the user is prompted for project type to create.</li>
54  </ol>  </ol>
55  <h3>First time setup</h3>  
56    <h3>Working with modules</h3>
57    These tests require a CVSROOT/modules file on the server that contains valid module definitions.
58  <ol>  <ol>
59    <li>Modules in the repo view and checking out modules</li>    <li>Switch the Repositories View to Show Modules mode and ensure that the moduels are displayed properly.</li>
60      <li>Perform "Checkout as Module" and ensure that the module is checkout out properly.
61      Also ensure that repeating results in overwrite prompt.</li>
62  </ol>  </ol>
63    
64    <h2>Project Sharing</h2>
65    
66  <h3>Project sharing and disconnecting</h3>  <h3>Project sharing and disconnecting</h3>
67  <ol>  <ol>
68    <li>Sharing with no CVS folders against existing project</li>    <li>Sharing with no CVS folders against existing project</li>
# Line 27  Line 70 
70    <li>Sharing new project with no CVS folders</li>    <li>Sharing new project with no CVS folders</li>
71    <li>Disconnect: keeping and deleting CVS folders, reconnecting (as above)</li>    <li>Disconnect: keeping and deleting CVS folders, reconnecting (as above)</li>
72  </ol>  </ol>
73  <h3>CVS workflow</h3>  
 <ol>  
   <li>Ignoring resources</li>  
   <li>&#8220;Add to .cvsignore&#8221;</li>  
   <li>Add to global ignore list, ensure its now ignored</li>  
   <li>Replace with (base, branch, version)</li>  
   <li>Update/commit with very large files (&gt; 8 meg)</li>  
   <li>Ensure you are prompted for unsaved changes before performing a CVS  
  action</li>  
 </ol>  
74  <h3>Project sets</h3>  <h3>Project sets</h3>
75  <ol>  <ol>
76    <li>Create one, delete projects, load set and ensure got projects back</li>    <li>Create one, delete projects, load set and ensure got projects back</li>
77    <li>Test against HEAD, project on branch/version.</li>    <li>Test against HEAD, project on branch/version.</li>
78  </ol>  </ol>
79  <h3>Branching/Merging</h3>  
80    <h2>CVS workflow</h2>
81    
82    <h3>Common workflows</h3>
83    
84    To perform the tests properly, check out the same remote project into two local projects.
85    
86    <ol>
87      <li>Commit and Update with incomming, outgoing and conflicting changes and ensure proper behavior.</i>
88      <li>Update/commit with very large files (&gt; 8 meg)</li>
89      <li>Replace with (latest, base, branch, version, revision)</li>
90      <li>Compare with (latest, base, branch, version, revision)</li>
91      <li>Ensure you are prompted for unsaved changes before performing a CVS action</li>
92      <li>Tag as Version and ensure that remote is tagged properly.</li>
93      <li>Tag as Version with dirty local resources and ensure proper prompting.</li>
94      <li>Change ASCII/Binary Property on projects and resources and ensure proper behavior.</li>
95    </ol>
96    
97    <h3>Ignoring resources</h3>
98    <ol>
99      <li>Ignoring resources</li>
100      <li>&#8220;Add to .cvsignore&#8221;</li>
101      <li>Add to global ignore list, ensure its now ignored</li>
102    </ol>
103    
104  <h3>Decorators</h3>  <h3>Decorators</h3>
105  <ol>  <ol>
106    <li>Change all the options, apply, see them redraw correctly</li>    <li>Change all the options, apply, see them redraw correctly</li>
# Line 52  Line 110 
110    <li>Collapse large tree, exit workspace, restart (should not be as expensive    <li>Collapse large tree, exit workspace, restart (should not be as expensive
111   as if tree had been left expanded)</li>   as if tree had been left expanded)</li>
112  </ol>  </ol>
113    
114  <h3>Patching</h3>  <h3>Patching</h3>
115     Creating patches and then comparing with them. In particular,     Creating patches and then comparing with them. In particular,
116  <ol>  <ol>
# Line 60  Line 119 
119    <li>added or deleted folders with added or deleted files in them</li>    <li>added or deleted folders with added or deleted files in them</li>
120    <li>binary files</li>    <li>binary files</li>
121  </ol>  </ol>
122    
123    <h3>Working with Modules</h3>
124    These test require valid moduel definitions in the CVSROOT/modules file of the repository
125    <ol>
126      <li>Checkout a module and ensure success.<li>
127      <li>Perform other CVS tests on the local project as if it were a regular project.</li>
128    </ol>
129    
130  <h3>Misc</h3>  <h3>Misc</h3>
131  <ol>  <ol>
132      <li>Mixing tags within a project.</li>
133      <li>Propertoes pages for projects, folders and files.</li>
134    <li>CVS Console: ensure written to</li>    <li>CVS Console: ensure written to</li>
135    <li>Check canceling everywhere there's a progress monitor</li>    <li>Check canceling everywhere there's a progress monitor</li>
136    <li>Does it cancel in reasonable time?</li>    <li>Does it cancel in reasonable time?</li>
137    <li>Is the workspace in an ok state after?</li>    <li>Is the workspace in an ok state after?</li>
138    <li>Compression switches, ensure data transfered ok (commit, update)</li>    <li>Compression switches, ensure data transfered ok (commit, update)</li>
139  </ol>  </ol>
140    
141  <h1>Section 2: CVS Synchronize View</h1>  <h1>Section 2: CVS Synchronize View</h1>
142  <table height="124" border="1" width="99%">  <table height="124" border="1" width="99%">
143    <tbody>    <tbody>

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5