Changes between Version 5 and Version 6 of RasdamanTestSuites


Ignore:
Timestamp:
Jan 31, 2013 7:17:08 PM (5 years ago)
Author:
pcampalani
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RasdamanTestSuites

    v5 v6  
    4848   1. run 'make check' under rasdaman or rasdaman/systemtest directory
    4949 }}}
     50
     51= Petascope tests =
     52
     53Before submitting any patch which modifies the source of ''Petascope'', both WCS and WCPS
     54smoke tests should be checked __before__ and __after__ applying the changes.
     55
     56The scripts for WCS and WCPS testing can be found respectively in:
     57
     58 * `rasdaman/systemtest/testcases_petascope/test_wcs`
     59 * `rasdaman/systemtest/testcases_petascope/test_wcps`
     60
     61To run the tests, simply execute in both cases:
     62
     63{{{
     64./test.sh
     65}}}
     66
     67from inside the respective directories. Do '''not''' execute `sh test.sh` as the script
     68is written for bash, and `sh` is often linked to a restricted version of bash like dash, or similar.
     69
     70Variables like Tomcat port, host, `rasdaman` connection details, etc. may need
     71to be adapted before running the tests by editing the file:
     72
     73{{{
     74rasdaman/systemtest/testcases_petascope/test_wcps/test.cfg
     75}}}
     76
     77which currently is used for both WCS and WCPS tests.
     78
     79'''__NOTE__''': currently (jan2013, sha1_HEAD=b04bdb9), 8/8 WCS tests and 49/51 WCPS tests pass with no error.
     80
     81== Testdata ==
     82
     83The following coverages are available for the tests:
     84
     85{{{
     86+----------+-----+-------+-----------------+-------+-----------------+------------+
     87| coverage | dim | type  | pixel extent    | axes  | geo-boundingbox |    CRS     |
     88+----------+-----+-------+-----------------+-------+-----------------+------------+
     89| rgb      | 2D  | rgb   | 0:399,0:343     | x/y   |        -        |     -      |   
     90| mr       | 2D  | char  | 0:255,0:210     | x/y   |        -        |     -      |   
     91| eobstest | 3D  | short | 0:5,0:100,0:231 | t/x/y | 25,-40 - 75,75  | EPGSG:4326 |
     92+----------+-----+-------+-----------------+-------+-----------------+------+
     93}}}
     94
     95These coverages are automatically inserted if missing.
     96
     97
     98== Adding tests ==
     99
     100To add new tests to the test suite, simply add new WCS or WCPS queries to the `queries`
     101directory. Please adhere to the naming convention, continuing from the last number:
     102
     103 * WCS KVP      : number-meaningful_name.kvp
     104 * WCS XML      : number-meaningful_name.xml
     105 * WCS SOAP     : number-meaningful_name.soap
     106 * WCS REST     : number-meaningful_name.rest
     107 * WCPS abstract: number-meaningful_name.test
     108 * WCPS XML     : number-meaningful_name.xml
     109 * rasql        : number-meaningful_name.rasql