testbox.tests.specsWithFailures

Class TeardownWithFailureTest

lucee.Component
    extended by testbox.system.BaseSpec
      extended by testbox.system.compat.framework.TestCase
        extended by testbox.tests.specsWithFailures.TeardownWithFailureTest
Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Method Summary
    void afterTests()
         put things here that you want to run after all tests.
    void beforeTests()
         put things here that you want to run before all tests.
    void setUp()
         put things here that you want to run before each test.
    void stonesFailTest()
    void stonesSuccessTest()
    void tearDown()
         put things here that you want to run after each test.
     
    Methods inherited from class testbox.system.compat.framework.TestCase
    addAssertDecorator, assert, assertArrayEquals, assertEquals, assertEqualsCase, assertEqualsWithTolerance, assertFalse, assertIsArray, assertIsDefined, assertIsEmpty, assertIsEmptyArray, assertIsEmptyQuery, assertIsEmptyStruct, assertIsExactTypeOf, assertIsQuery, assertIsStruct, assertIsTypeOf, assertIsXMLDoc, assertNotEquals, assertNotSame, assertQueryEquals, assertSame, assertStructEquals, assertTrue, debug, expectException, fail, getMockFactory, init, injectMethod, injectProperty, mock, runTestRemote, setMockingFramework
     
    Methods inherited from class testbox.system.BaseSpec
    addAssertions, addMatchers, afterEach, aroundEach, aroundStub, beforeEach, clearDebugBuffer, closureStub, console, createEmptyMock, createMock, createStub, describe, expect, expectedException, feature, generateAroundEachClosuresStack, getDebugBuffer, getMockBox, getProperty, given, hasExpectedException, isExpectedException, it, makePublic, prepareMock, print, println, querySim, runAfterEachClosures, runAroundEachClosures, runBeforeEachClosures, runRemote, runSpec, runTestMethod, scenario, sliceTagContext, story, then, when, xdescribe, xit
     
    Methods inherited from class lucee.Component
    None

    Method Detail

    afterTests

    public void afterTests()

    put things here that you want to run after all tests

    Overrides:
    afterTests in class TestCase

    beforeTests

    public void beforeTests()

    put things here that you want to run before all tests

    Overrides:
    beforeTests in class TestCase

    setUp

    public void setUp()

    put things here that you want to run before each test

    Overrides:
    setUp in class TestCase

    stonesFailTest

    public void stonesFailTest()


    stonesSuccessTest

    public void stonesSuccessTest()


    tearDown

    public void tearDown()

    put things here that you want to run after each test

    Overrides:
    tearDown in class TestCase