Changes between Version 3 and Version 4 of Specifications/Test_procedures/Roles


Ignore:
Timestamp:
Aug 20, 2008, 4:36:05 PM (16 years ago)
Author:
Martin Svensson
Comment:

Re-arranged the document and added a link to the old manuscript file

Legend:

Unmodified
Added
Removed
Modified
  • Specifications/Test_procedures/Roles

    v3 v4  
    11= Roles test =
    22
    3 This 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 
    7 This 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 
    9 The 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 
    11 To 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.)
     3This test can be done either by running it automatically in a test program or by manually click your way through the web-client. Consult the [http://base.thep.lu.se/chrome/site/doc/test/roles/index.html#root detailed manuscript(old format)] for manually doing the test or follow the instructions below for testing automatically.
    234
    245
     
    4728          * Check the result by listing and plotting the data.
    4829
     30
     31== Run the role test-program ==
     32
     33This 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.
     34
     35The 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.
     36
     37To run the tests do the following:
     38
     39   1. Compile the core and the test programs: ant main test.
     40   1. Change to the build/test/ directory.
     41   1. Run test programs: ''./test.sh roles'' ''<cmds>''[[BR]] where ''<cmds>'' is one or more of the following:
     42    a. ''all'': run all tests
     43    a. ''root'': run the root user tests
     44    a. ''admin'': run the administrator tests
     45    a. ''power'': run the power user tests
     46    a. ''user'': run the regular user tests
     47    a. ''guest'': run the guest user tests[[BR]]
     48   (each role-test, except ''root'', requires that the test in the step before has been executed.)