Changes between Initial Version and Version 1 of Specifications/Test_procedures/Roles


Ignore:
Timestamp:
Aug 18, 2008, 4:35:51 PM (16 years ago)
Author:
Martin Svensson
Comment:

Created the document and the summary of the test procedures are written

Legend:

Unmodified
Added
Removed
Modified
  • Specifications/Test_procedures/Roles

    v1 v1  
     1== Roles test ==
     2
     3This test can be done either by running it automatically in a test program or by manually click your way through the web-client.
     4
     5=== Run the role test-program ===
     6
     7This will of course not test the web client, but are useful if one quickly needs to do parts of the test and then continue with, for example, the user or analysis tests on the web. The web-client is tested with the manually test described below.
     8
     9The data files needed by the tests are NOT included in the subversion repository. The main reason is that they are too large, and that we don't have permission to make them publicly available for download. To get the test file you need to be a core developer. Read the instructions in the [wiki:DeveloperInformation#TestData test data section] on the developer information page, Test data section on the Base 2 web site. The automated test programs require that file are placed (checked out) in the 'testdata' directory located in the BASE root directory. NOTE! Some test data files are bzip-compressed. These need to be uncompressed before they are uploaded to BASE.
     10
     11To run the tests do the following:
     12
     13   1. Compile the core and the test programs: ant main test.
     14   1. Change to the build/test/ directory.
     15   1. Run test programs: ''./test.sh roles'' ''<cmds>''[[BR]] where ''<cmds>'' is one or more of the following:
     16    a. ''all'': run all tests
     17    a. ''root'': run the root user tests
     18    a. ''admin'': run the administrator tests
     19    a. ''power'': run the power user tests
     20    a. ''user'': run the regular user tests
     21    a. ''guest'': run the guest user tests[[BR]]
     22   (each role-test, except ''root'', requires that the test in the step before has been executed.)
     23
     24
     25== Manuscript of the role test procedure ==
     26
     27A summary of the roles test procedure:
     28   1. Always start with a fresh installation of BASE 2.
     29   1. The root user creates an administrator.
     30   1. The administrator creates more users and some global resources:
     31          * A group and three other users. Power user, regular user and guest.
     32          * File formats for importing reporters
     33          * Import reporters
     34   1. The power user creates item related to the project management:
     35          * A project
     36          * Protocols, one for each type of action: sampling, extraction, etc.
     37          * Hardware and software that are used in the project.
     38          * Annotation types for annotations used in the project.
     39          * File formats for importing plates, print maps and raw data
     40          * LIMS information - plate type, plates, array design, array batch and array slides.
     41   1. The user creates items related to an actual experiment:
     42          * Biomaterials: biosources, samples, extracts, etc.
     43          * Experiment: hybridizations, scans, images and raw bioassays
     44          * Import raw data
     45   1. Both the user and the guest then do some analysis:
     46          * Create a root bioassay set.
     47          * Filter the bioassay set.
     48          * Run a normalization plug-in.
     49          * Check the result by listing and plotting the data.
     50
     51
     52
     53=== Detailed test-manuscript ===
     54
     55 1. '''Root-user test'''[[BR]]
     56 1. '''Administrator test'''[[BR]]
     57 1. '''Power-user test'''[[BR]]
     58 1. '''Regular-user test'''[[BR]]
     59 1. '''Guest-user test'''[[BR]]