Project

General

Profile

« Previous | Next » 

Revision 4723

Added by daigle almost 16 years ago

Add a section for skins testing

View differences:

docs/dev/testing-metacat.html
47 47
      <div class="toc2"><a href="#RunOneTest">Run One Test</a></div>
48 48
      <div class="toc2"><a href="#ViewingOutput">Viewing Test Output</a></div>
49 49
    <div class="toc1"><a href="#TestDbVersions">Testing Different Database Schema Versions</a></div>
50
      <div class="toc2"><a href="#scripts">Scripts to Run</a></div>
51
      <div class="toc2"><a href="#checkoutScripts">Get Scripts Via Checkout</a></div>
52
      <div class="toc2"><a href="#scriptRepo">Script Repository</a></div>
50
      <div class="toc2"><a href="#Scripts">Scripts to Run</a></div>
51
      <div class="toc2"><a href="#CheckoutScripts">Get Scripts Via Checkout</a></div>
52
      <div class="toc2"><a href="#ScriptRepo">Script Repository</a></div>
53
      <div class="toc2"><a href="#ManuallyRunScripts">Manually Run Scripts</a></div>
54
    <div class="toc1"><a href="#UserTesting">User Testing</a></div>
55
      <div class="toc2"><a href="#TestingSkins">Testing Skins</a></div>
53 56
  </div>  
54 57
  
55 58
  <a name="Intro"></a><div class="header1">About Metacat Testing</div>
......
199 202
  compatibility of code.  This section describes how to get your db schema to an older 
200 203
  version.
201 204
  
202
  <a name="scripts"></a><div class="header2">Scripts to Run</div>
205
  <a name="Scripts"></a><div class="header2">Scripts to Run</div>
203 206
  <p>It is assumed that you have an empty metacat database up and running with a 
204 207
  metacat user.
205 208
  <p>There are two types of scripts that need to be run in order to create a Metacat
......
213 216
  necessary seed data for Metacat.</li>
214 217
  </ul> 
215 218
  
216
  <a name="checkoutScripts"></a><div class="header2">Get Scripts Via Checkout</div>
219
  <a name="CheckoutScripts"></a><div class="header2">Get Scripts Via Checkout</div>
217 220
  <p>One way to get the scripts you need is to check out the release tag for the version
218 221
  of metacat that you want to install.  You can then run the two scripts shown above to
219 222
  create your database.</p>
220 223
  
221
  <a name="scriptRepo"></a><div class="header2">Script Repository</div>
224
  <a name="ScriptRepo"></a><div class="header2">Script Repository</div>
222 225
  <p>For convenience, the scripts to create each version have been extracted and 
223 226
  checked into:</p>
224 227
    <div class="code">&lt;metacat_code&gt;/src/scripts/metacat-db-versions</div>
......
238 241
  to clean out the changes for that version.</li>
239 242
  </ul>
240 243
  
241
  <a name="scriptRepo"></a><div class="header2">Manually Run Scripts</div>
244
  <a name="ManuallyRunScripts"></a><div class="header2">Manually Run Scripts</div>
242 245
  <p>For instructions on running database scripts manually, please refer to:
243 246
  <a href="../user/run-db-scripts.html">how to run database scripts</a></p>
244 247
    
248
  <a name="UserTesting"></a><div class="header1">User Testing</div>
249
  <p>The following sections describe some basic end user testing to stress
250
  code that might not get tested by unit testing.</p>
251
  
252
  <a name="TestingSkins"></a><div class="header2">Testing Skins</div>  
253
  <p>For each Skin:</p>
254
  <ul>
255
  <li>View main skin page by going to:
256
    <div class="code">http://dev.nceas.ucsb.edu/knb/style/skins/&lt;skin_name&gt;</div>
257
  for each skin, where &lt;skin_name&gt; is in:
258
    <div class="code">default, nceas, esa, knb, kepler, lter, ltss, obfs, nrs, sanparks, saeon</div>
259
  </li>
260
  <li>Test logging in.  Where applicable (available on the skin) log in using an LDAP account.</li>
261
  <li>Test Basic searching
262
     <ul>
263
     <li>Do a basic search with nothing in the search field.  Should return all docs.</li>
264
     <li>Select a distinct word in the title of a doc.  Go back to main page and search for 
265
     that word.</li>
266
     <li>Select the link to the doc and open the metadata.  Choose a distinct word from a 
267
     field that is not Title, Abstract, Keywords or Personnel.  Go back to the main page and 
268
     search all fields (if applicable)</li>
269
     </ul>
270
  </li>   
271
  <li>Test Advanced Searching
272
     <ul>
273
     <li>On the main page, choose advanced search (if applicable)</li>
274
     <li>Test a variety of different search criteria</li>
275
     </ul>
276
  </li>
277
  <li>Test Registry (if applicable)
278
     <ul>
279
     <li>Create a new account</li>
280
     <li>use the "forgot your password" link</li>
281
     <li>change your password</li>
282
     </ul>
283
  </li>
284
  <li>Test Viewing Document
285
     <ul>
286
     <li>Use your search to find a document</li>
287
     <li>Choose the link to a document - you should see document details
288
     <li>In a separate browser, try the shortcut to the doc:
289
       <div class="code">http://dev.nceas.ucsb.edu/knb/metacat/&lt;doc_id&gt;/&lt;skin_name&gt;</div>
290
     You should see the same results as going to the doc via search.</li>
291
     </ul>
292
  </li>
293
  <li>Download Metadata
294
     <ul>
295
     <li>Choose the metadata download</li>
296
     <li>Save the file</li>
297
     <li>view contents for basic validity (contents exist, etc)</li>
298
     </ul>
299
  </li>
300
  <li>Downlaod Data
301
     <ul>
302
     <li>Choose the data download</li>
303
     <li>view the data for basic validity (contents exist, etc)</li>
304
     </ul>
305
  </li>
306
  <li>View Data Table
307
     <ul>
308
     <li>Find a document with a data table</li>
309
     <li>Choose to view the data table</li>
310
     <li>view the data table for basic validity (contents exist, etc)</li>
311
     </ul>
312
  </li>
313
    
245 314
  <br>
246 315
  <a href="./metacat-eclipse-project.html">Back</a> | <a href="./index.html">Home</a> | 
247 316
  <!--a href="add next file here when one exists" -->Next<!-- /a -->

Also available in: Unified diff