Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Can I intercept "instance variable XYZ not initialized"
Larry Fast
8/3/2007 4:36:00 PM
I'm working with Test::Unit and want to reduce the amount of noise in
the results. One annoying problem with negative test cases is "warning:
instance variable XYZ not initialized"
I may simply be doing things wrong but it seems that throw-catch and
begin-rescue aren't capable of 'catching' this message.
I'd rather avoid post-processing the output. First because it decouples
and duplicates the references. Secondly because I don't want to mask
legitimate errors.
Suggestions?
Larry
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Can I intercept "instance variable XYZ not initialized"
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password