in reply to Test on calling undefined subs fails and exits test
If you expect a test to fail fatally and want to test that then you can use one of the many Test::* modules which help with this such as: Test::Exception, Test::Trap, Test::Fatal, etc.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Test on calling undefined subs fails and exits test
by Don Coyote (Hermit) on Aug 08, 2019 at 14:03 UTC | |
|
Re^2: Test on calling undefined subs fails and exits test
by Don Coyote (Hermit) on Aug 08, 2019 at 13:04 UTC |