Changeset 7

Show
Ignore:
Timestamp:
08/16/08 17:59:25 (4 years ago)
Author:
fumanchu
Message:

Doc update.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/epic/epic.sql

    r6 r7  
    166166 
    167167    testdb=# SELECT * FROM test.run_test('test_inner_trans_set_create'); 
    168      run_test 
    169     ---------- 
    170      t 
     168                         name        |      module       | result | errcode |                             errmsg 
     169    ---------------------------------+-------------------+--------+---------+--------------------------------------------------------------- 
     170     test_inner_trans_set_create     | test_transactions | [OK]   |         | 
    171171    (1 row) 
    172172 
    173 Using run_test, you get a T/F response instead of an exception (that running 
    174 the test directly would raise). You also get an entry in test.results, 
    175 so if you fix a single test, you can update its success without having 
    176 to run a whole set of tests you didn't modify. 
     173By using run_test instead of running the test function directly, you get  
     174an [OK] or [FAIL] response instead of an exception. You also get an entry  
     175in test.results, so if you fix a single test, you can update its success  
     176without having to run a whole set of tests you didn't modify. 
    177177 
    178178*/