SyFi 0.3
templatetestdir::test::MyTest Class Reference

List of all members.

Public Member Functions

def setUp
def tearDown
def testSetup
def testMyStuff
def testFailureExample

Public Attributes

 foo

Detailed Description

Definition at line 9 of file tests/templatetestdir/test.py.


Member Function Documentation

def templatetestdir::test::MyTest::setUp (   self)

Definition at line 10 of file tests/templatetestdir/test.py.

00011                    :
00012         # initialize stuff
00013         #debug("setUp")
00014 
00015         print "Running templatetest in testdir"
00016         print "Imported SyFi from location", SyFi.__file__
00017         print "Imported sfc  from location", sfc.__file__
00018 
00019         self.foo = 1
    
def templatetestdir::test::MyTest::tearDown (   self)

Definition at line 20 of file tests/templatetestdir/test.py.

00021                       :
00022         # delete initialized stuff
00023         #debug("tearDown")
00024         del self.foo
    
def templatetestdir::test::MyTest::testFailureExample (   self)

Definition at line 35 of file tests/templatetestdir/test.py.

00036                                 :
00037         assert 1
00038         #assert 0 # uncomment to see how a failure looks like
00039 

def templatetestdir::test::MyTest::testMyStuff (   self)

Definition at line 30 of file tests/templatetestdir/test.py.

00031                          :
00032         # test whatever meant by "MyStuff"
00033         #debug("testMyStuff")
00034         assert 1
    
def templatetestdir::test::MyTest::testSetup (   self)

Definition at line 25 of file tests/templatetestdir/test.py.

00026                        :
00027         # test initialized stuff
00028         #debug("testSetup")
00029         assert self.foo
    

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines