Hi all, I have cactus class which has beginXXX, textXXX and
endXXX methods. Upon running the cactus test, the begin method is
executed, followed by test method. However if one of the assert fails
then the end method is not being called. If the test passes then end
method is being called.
        Please let me know if anyone has this problem? Also I am
expecting that, I think it is logical that, even if a test case fails
due to some assert, the endXXX must be called (if it exists). Please let
me know if my assumption is wrong.
        My understanding is if beginXXX method contains code that
assigns resources then endXXX method contains code to deallocate the
resources.
Thanks

Pavan.

Reply via email to