Changes between Version 18 and Version 19 of Obsolete/Development/Code/TestingComponents


Ignore:
Timestamp:
Apr 15, 2014, 7:24:05 PM (12 years ago)
Author:
/C=FR/O=CNRS/OU=UMR8607/CN=Michel Jouvin/emailAddress=jouvin@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Obsolete/Development/Code/TestingComponents

    v18 v19  
    11= Writing automatic tests for NCM components =
    2 
    3 '''This is work in progress!! '''
    4 
    5 [[TOC]]
     2[[TracNav]]
     3
     4[[TOC(inline)]]
    65
    76== Introduction ==
     
    3938* Tests are scripts with `.t` extension, stored under `src/test/perl`.
    4039* Any resources needed for your tests, such as mockup profiles, should be stored in `src/test/resources`.
     40* `src/test/resources` must contain a file called `ccm.cfg` with the following contents:
     41{{{
     42debug 0
     43get_timeout 1
     44profile https://www.google.com
     45cache_root target/test/cache
     46retrieve_wait 0
     47retrieve_retries 1
     48dbformat CDB_File
     49}}}
    4150* There must be a smoke test, called `00-load.t` in that directory. Its only mission is to load your module. If you are using a recent enough version of the Maven build tools ('''not yet released'''), it is already there.
    4251