ãã®è¨äºã¯Perl Advent Calendar 2013ã®16æ¥ç®ã®è¨äºã§ãã Test::Synopsis::Expectation Perlã®ã¢ã¸ã¥ã¼ã«ãä½ãéã«ä¾¿å©ãããªå°ãå¤ãã£ãã¢ã¸ã¥ã¼ã«ãTest::Synopsis::Expectationã使ã£ã¦ã¿ã¾ãã ãã®åã«ãã¹ã対象ã®ã¢ã¸ã¥ã¼ã«ãä½ãã¾ããã²ãªå½¢ä½æã«ä¾¿å©ãªMinillaã使ã£ã¦ã¹ã±ã«ãã³ãä½æãã¾ãã $ minil new AwesomeTargetããã§åºæ¥ãAwesomeTarget/lib/AwesomeTarget.pmã以ä¸ã®ããã«ãããã¾ãã package AwesomeTarget; use strict; use warnings; sub plusplus { my ($class, $num) = @_; return ++$num; } 1; ãªãã®ãã¨ã¯ãªãããã ++ããã ãã®ã¯ã©ã¹
{{#tags}}- {{label}}
{{/tags}}