|
||||||
SUMMARY: CHILDREN | PARAMETER | INSTPROC | INSTFILTER | INSTFORWARD | DETAIL: | INSTPROC |
::xotcl::Object | +--::xox::Node | +--::xounit::Test | +--::xounit::Assert | +--::xounit::TestCase
Variables | |||
Name | Default Value | Class | Comment |
currentTestMethod |
::xounit::TestCase | name of the currently running test method. |
|
nodeName |
::xox::Node | ||
result |
::xounit::TestCase | the result for the current run. |
Methods | |
Name | Comment |
test {}
| |
testReload {}
|
Methods from ::xotcl::Object |
#, ., ?, ?code, ?methods, ?object, abstract, copy, coverageFilter, defaultmethod, extractConfigureArg, filterappend, garbageCollect, get#, getClean#, hasclass, init, methodTag, mixinappend, move, profileFilter, self, setParameterDefaults, shell, tclcmd, traceFilter,
|
Instproc Detail |
::xounit::test::TestTest instproc test {} { set test [ ::xounit::Test new ] my assertEquals [ $test name ] ::xounit::Test set result [ $test newResult ] my assertEquals [ $result info class ] ::xounit::TestResult set result2 [ $test runAlone ] my assertEquals [ $result2 info class ] ::xounit::TestResult my assertNotEquals $result $result2 }
::xounit::test::TestTest instproc testReload {} { #not sure how to do this automatically #so manually channge the code after you've #started the continuous test and check for #the test runner picking up the change. #my fail ack }