Changes between Initial Version and Version 1 of testprocedure


Ignore:
Timestamp:
04/30/08 18:39:08 (16 years ago)
Author:
jlegrand
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • testprocedure

    v1 v1  
     1= What you need = 
     2Test procedures document is compiled using [http://www.latex-project.org/ latex]. 
     3(for windows, one can use [http://miktex.org/ MiKTeX] and [http://www.winshell.de/ Winshell]). 
     4 
     5Furthermore, all documents can be found in 
     6''project_examples/tests/TestsEllidiss'' Cheddar source code directory. 
     7 
     8= Compiling test procedures document =  
     9Test procedures document is split in 2 parts :  
     10 * Main document (''!CheddarTest.tex'') : in this file, all tests are described. 
     11 * Report documents : test results description. This file shall be included in the main document. 
     12 
     13== Compilation instructions == 
     14Copy the ''!DefaultReport'' file and rename it (the name can be freely chosen) : it 
     15will be your report test file. 
     16 
     17In this file, all test description "variables" can be found (e.g. ''\def\testtaska''). 
     18These description must be modified following this pattern : 
     19 
     20{{{ 
     21\def\testtaska 
     22{ 
     23\mytabulartestresult{result}{observation} 
     24} 
     25}}} 
     26 
     27Where ''result'' can be chosen between : 
     28 * OK : test result is ok. 
     29 * KO : test result is not ok. 
     30 * NA : test result is not available. 
     31 * ND : test has not been done. 
     32 
     33And ''observation'' is a comment on the test. 
     34 
     35For example, 
     36{{{ 
     37\def\testtaska 
     38{ 
     39\mytabulartestresult{OK}{No problem for this test} 
     40} 
     41}}} 
     42 
     43Note : the ''\mytabulartestresult'' macro display a tabular on the main document. 
     44 
     45Your test description file shall be included in the main document : find the following 
     46line ''\include{!DefaultReport}'' and put your filename.