in reply to Re^2: Testing image output
in thread Testing image output
Could I please have some feedback on this test file as testing is not my strongest skill
I pulled a face the instant I saw all those ok functions! From Basic Testing Tutorial by hippo:
While the ok function is useful, the output is a simple pass/fail - it doesn't say how it failed ... Let's use Test::More and its handy cmp_ok function
To convince yourself this is a worthwhile change, try running some failing test cases with your original ok and compare with cmp_ok.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Testing image output
by Bod (Parson) on Sep 08, 2023 at 23:22 UTC | |
|
Re^4: Testing image output
by Bod (Parson) on Sep 13, 2023 at 21:55 UTC | |
by hippo (Archbishop) on Sep 13, 2023 at 23:05 UTC |