::xounit::test
Class TestTest

Heritage:
::xotcl::Object
  |
  +--::xox::Node
        |
        +--::xounit::Test
              |
              +--::xounit::Assert
                    |
                    +--::xounit::TestCase
Tested Class:
::xounit::Test

Class TestTest
superclass ::xounit::TestCase,

Variables
NameDefault ValueClassComment
currentTestMethod    ::xounit::TestCase
 name of the currently running test method.
nodeName    ::xox::Node
 
result    ::xounit::TestCase
 the result for the current run.
 
Methods
NameComment
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

test

Description:
 
Code:
  ::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 
    
}

testReload

Description:
 
Code:
  ::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
    
}