Test::Fatal, for simpler exception testing
Right now, the most popular Perl library for testing code that throws exceptions is probably Test::Exception. It works like this:
Read more โblathering blatherskite
Right now, the most popular Perl library for testing code that throws exceptions is probably Test::Exception. It works like this:
Read more โI was happy to learn about this bizarre flag in Perl, even though it took a lot of aggravation to learn it.
Read more โAges ago, I got a lot of requests for a way to let Dist::Zilla create new
dists. Creating a useful command for doing that became part of the TPF grant
work that I did, and dzil new started to work in May. By June, it reached
the state itโs been in for months now, which seemed pretty good โ but I didnโt
really know, because I wasnโt using it.
When I first wrote about Test::Routine, I said it was a way of building a replacement for Test::Class that relied on Moose for all of its class composition. I compared it to replacing Exception::Class with Throwable, which let me get rid of a lot of features that were oriented toward building classes, and which were different from and inferior to those provided by Moose.
Read more โIโve been trying to learn more about different patterns people use while writing test code, and to make sure that Test::Routine accomodates them all fairly easily. So far, Iโm happy with it, but Iโve had a few changes Iโve made. So far, only one is intended to be user visible. From now on, instead of writing:
Read more โTest::Routine is a new system for
building reusable hunks of tests that can be written quickly as one-offs,
broken into modules for reuse, and that can use the large existing set of
Test:: libraries from the CPAN. It implements as few features as possible
and instead tries to let you use Mooseโs extensive and commonly-used object
system to get things done.
Fergal Daly wrote one of the most fantastically useful testing modules on the CPAN, Test::Deep. If you donโt use it, you really should. Itโs very powerful and very easy to use. Fergal has decided that he can no longer promise enough time to Test::Deep maintenance, and Iโm pleased to report that I have accepted responsibility.
Read more โFirst off, I will note that Iโve decided to make a little Amazon โaStoreโ for stuff I find myself recommending a lot. Be forewarned that Iโm going to link to it when I link to stuff I endorse, and that if you buy from it, I get some cash. If you find this repellant, copy the ASIN and search for it at Amazon and buy there.
Read more โLast week, I was at OSCON. I have to write a lot more about that whole experience. For now, itโs only relevant because it mean that when my Popbox arrived, I wasnโt home. I checked some of the reviews and they were bad. Like, shockingly bad.
Read more โI just needed to create a Yahoo! account for someone who wanted to be able to access some of my photos. This required creating security questions and answers, and as usual the questions available to pick from were really awful. It just got stupider, though, when I tried to pick answers that I would be able to remember. (Many security questions are horrible because their answers change over time.)
Read more โ