palette has asked for the wisdom of the Perl Monks concerning the following question:
I want to have a unit test case to check 'either or' value for a variable
is($var1,"can be either a or b","test passed");
How can this be done using Test::More
is($var1,"can be either a or b","test passed");
How can this be done using Test::More
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: 'either or' value unit test case in Test::Simple or Test::More
by ikegami (Patriarch) on Jan 05, 2007 at 14:34 UTC | |
Re: 'either or' value unit test case in Test::Simple or Test::More
by imp (Priest) on Jan 05, 2007 at 14:54 UTC | |
Re: 'either or' value unit test case in Test::Simple or Test::More
by shmem (Chancellor) on Jan 05, 2007 at 14:48 UTC | |
Re: 'either or' value unit test case in Test::Simple or Test::More
by Anonymous Monk on Jan 05, 2007 at 14:45 UTC | |
Re: 'either or' value unit test case in Test::Simple or Test::More
by Tanktalus (Canon) on Jan 05, 2007 at 15:42 UTC | |
Re: 'either or' value unit test case in Test::Simple or Test::More
by grinder (Bishop) on Jan 05, 2007 at 16:23 UTC | |
by ferreira (Chaplain) on Jan 05, 2007 at 16:43 UTC | |
by grinder (Bishop) on Jan 05, 2007 at 16:49 UTC |
Back to
Seekers of Perl Wisdom