Thread Test::Class - Fehlermeldungen unterdrücken? (10 answers)
Opened by roooot at 2011-03-20 11:12

renee
 2011-03-21 16:24
#146703 #146703
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Auch bei den CPAN-Modulen siehst Du so etwas wenn Du den einzelnen Test ausführst. Wenn Du statt "perl TestUser.t" einfach "prove" aus dem cgi-bin-Verzeichnis aufrufst, solltest Du da auch nur die Ergebnisse sehen...

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
opar@ubuntu:~/opar_sources$ prove
t/000_001_web_app_utils.t ..... ok
t/000_002_exporter_aliased.t .. ok
t/000_config.t ................ ok
t/000_preconditions.t ......... ok
t/001_dao_user.t .............. ok
t/002_dao_package.t ........... ok
t/010_package_to_user_dao.t ... ok
t/020_forms_utility.t ......... ok
t/090_db_helper_package.t ..... ok
t/091_db_helper_job.t ......... ok
t/999_postconditions.t ........ ok
All tests successful.
Files=11, Tests=241, 15 wallclock secs ( 0.01 usr 0.22 sys + 5.49 cusr 2.50 csys = 8.22 CPU)
Result: PASS
opar@ubuntu:~/opar_sources$ perl t/000_001_web_app_utils.t
1..67
ok 1 - Can load module
ok 2 - Pass an invalid time () to function
ok 3 - Pass an invalid time (1a) to function
ok 4 - Pass an invalid time (b6) to function
ok 5 - Pass an invalid time (test) to function
ok 6 - deactivated time and date
ok 7 - Get "13 Feb 2009"
ok 8 - Get "13 Feb 2009 23:31:30"
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Test::Class - Fehlermeldungen unterdrücken?