in reply to RFC: How did I do writing my first test?
Another couple of things: that you don't have to use done_testing and set tests => "14";. If you unroll the is_deeply and base the number of tests on the number of entries in your input files, then go with just the done_testing. This is most useful when the number of tests are based on input length that you may update at some point. Finally, I don't see anything on an initial pass that requires you include use v5.10.0;.
Overall, I think it's great. And it's even greater that you're actually writing a test! :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: RFC: How did I do writing my first test?
by Lady_Aleena (Curate) on Sep 24, 2020 at 14:49 UTC | |
by AnomalousMonk (Bishop) on Sep 24, 2020 at 16:33 UTC | |
by tobyink (Canon) on Sep 24, 2020 at 20:03 UTC | |
Re^2: RFC: How did I do writing my first test?
by karlgoethebier (Abbot) on Sep 24, 2020 at 11:32 UTC | |
by tobyink (Canon) on Sep 24, 2020 at 15:15 UTC |