how i debug.writeline statements controlling testdriven.net?
i'm perplexing testdriven.net wholly exam code, nonetheless duty formula whose purpose imitation out middle state formula debug window.
here's unequivocally simplified instance i'm perplexing do..
<testfixture()> _
public category unittest
<test()> _
open servant testdebug()
low oclass1 new class1
assert.areequal(true, oclass1.istrue)
debug.writeline("about .printdebug()")
oclass1.printtodebug()
finish sub
end class
public category class1
private _istrue boolean = true
open readonly ability istrue() boolean
get
relapse _istrue
finish get
finish property
open servant printtodebug()
debug.writeline("internal state class1: " & _istrue)
finish sub
end class
i'm perplexing exam open interface class1, somehow perspective cost class1.printtodebug()
function.
i've looked by , shows examples controlling debug.writeline
section test, nonetheless strangely doesn't work me presumably - i.e. wholly cost 'test' window is:
------ exam started: assembly: classlibrary1.dll ------
1 passed, 0 failed, 0 skipped, took 1.19 seconds.
i've attempted looking windows (debug build), debug window 'program output' 'exception messages' options enabled.
i've looked options preferences can't any!
thanks your help!
edit: i'm controlling vb.net 2.0, testdriven.net 2.14.2190 nunit 2.4.8.0
Comments
Post a Comment