ãã¼ã¯ã®å
容ã¯Test2
ã®å°å
¥ãã便å©æ
å ±ãç´¹ä»ããããã¾ãããå°ãã§ãTest2
使ã人ãå¢ããã¨ããã§ããã
ã¹ã©ã¤ãä¸ã«ã触ãã¦ãã¾ãããåºæ¬çã«ã¯Test2
ã«ç§»è¡ããã«ããã£ã¦ã¯Test2::Plugin::UTF8
ã使ãããã«ããã°å¤§ä¸å¤«ããªã¨æãã¾ãã
ä¸é¨Test::Class
ã®ããã¯ãTest2
ã«å¯¾å¿ããã¨ãã£ãç¹æ®ãªä¾ãç´¹ä»ãã¾ãããã¹ã©ã¤ãã§ã¯æéã®é½åä¸çããã®ã§ãããTest::Class
ã¯æå¤ã¨æ±ããé£ããããã¹ããã¡ã¤ã«ããèªã¿è¾¼ã¾ããã¢ã¸ã¥ã¼ã«ã§Test::More
ãç´æ¥ä½¿ã£ã¦ããã¨$TODO
ãåããªããªãã¨ããã±ã¼ã¹ãããã¾ãããTest::More
ã®ok
ãç´æ¥å¼ãã§ããå ´åã¯Test2::API
ã®context
ã§æ¸ãæããå¿
è¦ãããã¾ãã
ã¾ããTest::Warnings
ã§ãã¹ãä¸ã§è¦åãåºã¦ãããfailããæ©è½(Test::Builder::done_testing
ãæ¸ãæãã¦ãã lib/Test/Warnings.pm - metacpan.org)ãåããªããªã£ã¦ãããã¨ã«é¢ãã¦ã¯Test2::Plugin::NoWarnings
ã使ããã¨ã«ãã代ç¨ãããã¨ãã§ãã¾ãã
Test2::Plugin::NoWarnings - Fail if tests warn - metacpan.org
åå è ã®çæ§ä¸¦ã³éå¶ã¹ã¿ããã®çæ§ãç²ãæ§ã§ããã次ã®YAPCã¯æ²ç¸ã§éå¬ããã¨ã®ãã¨ã§æ¥½ãã¿ã«ãã¦ãã¾ãã