Re: [Perlunit-users] Using @TESTS for changing tests execution order
Status: Beta
Brought to you by:
mca1001
|
From: Phlip <pl...@sy...> - 2003-10-14 21:43:24
|
> Can you suggest a structure of tests for testing insert, select and
> delete operations? I suppose that I can write something like tis:
>
> sub test_001_insert {
> ... insert record and do some tets
> }
>
> sub test_002_select {
test_001_insert();
> ... select record inserted in previous test and do some tets
> }
>
> sub test_003_delete {
test_002_select();
> ... delete the above record and do some tets
> }
;-)
--
Phlip
|