Changeset 7
- Timestamp:
- 08/16/08 17:59:25 (4 years ago)
- Files:
-
- 1 modified
-
trunk/epic/epic.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/epic/epic.sql
r6 r7 166 166 167 167 testdb=# SELECT * FROM test.run_test('test_inner_trans_set_create'); 168 run_test169 ---------- 170 t 168 name | module | result | errcode | errmsg 169 ---------------------------------+-------------------+--------+---------+--------------------------------------------------------------- 170 test_inner_trans_set_create | test_transactions | [OK] | | 171 171 (1 row) 172 172 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.173 By using run_test instead of running the test function directly, you get 174 an [OK] or [FAIL] response instead of an exception. You also get an entry 175 in test.results, so if you fix a single test, you can update its success 176 without having to run a whole set of tests you didn't modify. 177 177 178 178 */
