åå¶ Test::Base - ãã¼ã¿ããªãã³ã®ãã¹ããã¬ã¼ã ã¯ã¼ã¯ æ¦è¦Â¶ A new test module: æ°ãããã¹ãã¢ã¸ã¥ã¼ã«: # lib/MyProject/Test.pm package MyProject::Test; use Test::Base -Base; use MyProject; package MyProject::Test::Filter; use Test::Base::Filter -base; sub my_filter { return MyProject->do_something(shift); } A sample test: ãã¹ãã®ä¾: # t/sample.t use MyProject::Test; plan tests => 1 * blocks; run_is input => 'expected'; sub local_fi
{{#tags}}- {{label}}
{{/tags}}