Re: [Perlunit-users] Test-Unit on Win32: OutputDebugString at 'assert' failure time?
Status: Beta
Brought to you by:
mca1001
From: Adam S. <ad...@sp...> - 2002-11-09 14:12:06
|
Phlip (pl...@sy...) wrote: > Perlies: > > I like unit tests. My employers like Win32, VC++, and Perl. So here I am > writing an "acceptance test" rig for our VC++ code, and it calls > Perl embedded in the C++ code. > > When an assertion fails, such as this one... > > $self -> assert ($result =~ /LW is god/); That assertion is potentially buggy. Please read the Test::Unit::Assert manpage carefully, and use assert_matches() instead. |