Skip to content

0.8.x Annotations for JUnit4 @BeforeTestCase @AfterTestCase

Hiroshi Ukai edited this page Sep 17, 2017 · 2 revisions

@BeforeTestCase

This annotation lets JCUnit know the annotated static method should be run before each test case defined by enclosing class are run.

Feature Specification
name @BeforeTestCase
package com.github.dakusui.jcunit8.runners.junit4.annotations
target A static method. The method must have no parameter and return no value.
attributes none

Attributes

(none)

@AfterTestCase

This annotation lets JCUnit know the annotated static method should be run after each test case defined by enclosing class are finished.

Feature Specification
name @AfterTestCase
package com.github.dakusui.jcunit8.runners.junit4.annotations
target A static method. The method must have no parameter and return no value.
attributes none

Attributes

(none)

Clone this wiki locally