6.4. Test::More
生活随笔
收集整理的這篇文章主要介紹了
6.4. Test::More
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
過程?6.4.?Test::More setp by setp
use Test::More qw(no_plan);
ok($got eq $expected, $test_name);
ok( $exp{9} == 81, 'simple exponential' ); ok( Film->can('db_Main'), 'set_db()' ); ok( $p->tests == 4, 'saw tests' ); ok( !grep !defined $_, @items, 'items populated' );
原文出處:Netkiller 系列 手札
本文作者:陳景峯
轉載請與作者聯系,同時請務必標明文章原始出處和作者信息及本聲明。
總結
以上是生活随笔為你收集整理的6.4. Test::More的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: macOS的控制台Console.app
- 下一篇: 关于标准输入输出流和string类