當我使用正常的測試工具,該CPAN模塊具有運行make test
,它只是輸出小結(如果一切順利)。「做試驗」更詳細的在Perl
t/000_basic.t .......................... ok
t/001_db_handle.t ...................... ok
t/002_dr_handle.t ...................... ok
t/003_db_can_connect.t ................. ok
... snip ...
All tests successful.
Files=30, Tests=606, 2 wallclock secs
Result: PASS
如果我單獨運行測試,它們會輸出更詳細的信息。
1..7
ok 1 - use DBIx::ProcedureCall::PostgreSQL;
ok 2 - simple call to current_time
ok 3 - call to power() with positional parameters
ok 4 - call to power() using the run() interface
ok 5 - call to setseed with a named parameter
ok 6 - call a table function
ok 7 - call a table function and fetch
如何在詳細模式下運行所有測試?有什麼我可以傳遞給make test
?
哦,很漂亮。它還突出了我特別尋找的東西(跳過測試)。 – Thilo 2011-03-15 04:57:23