Class SubsystemTest
- java.lang.Object
-
- org.assertj.core.api.Assertions
-
- com.devonfw.module.test.common.base.BaseTest
-
- com.devonfw.module.test.common.base.SubsystemTest
-
@ExtendWith(org.springframework.test.context.junit.jupiter.SpringExtension.class) @TestExecutionListeners({org.springframework.test.context.transaction.TransactionalTestExecutionListener.class,org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class}) public abstract class SubsystemTest extends BaseTestThis is the abstract base class for an integrative test of a sub-system (e.g. your application backend). You are free to create your integration tests as you like just by annotatingTagSubsystemTestusingTag. However, in most cases it will be convenient just to extend this class. Also we recommend to use thespringframework and utilizespring-boot-test. In such case create an abstract base-class for theSubsystemTests of your application as following:@
SpringBootTest(webEnvironment =SpringBootTest.WebEnvironment.RANDOM_PORT, classes = MyApplication.class) public abstract class MyApplicationSubsystemTest { }- See Also:
TagSubsystemTest
-
-
Field Summary
-
Fields inherited from class com.devonfw.module.test.common.base.BaseTest
INITIALIZED
-
-
Constructor Summary
Constructors Constructor Description SubsystemTest()
-
Method Summary
-
Methods inherited from class com.devonfw.module.test.common.base.BaseTest
doSetUp, doTearDown, isInitialSetup, setUp, tearDown
-
Methods inherited from class org.assertj.core.api.Assertions
allOf, allOf, anyOf, anyOf, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThatCode, assertThatExceptionOfType, assertThatIllegalArgumentException, assertThatIllegalStateException, assertThatIOException, assertThatNullPointerException, assertThatThrownBy, assertThatThrownBy, atIndex, byLessThan, byLessThan, byLessThan, byLessThan, byLessThan, byLessThan, byLessThan, byLessThan, byLessThan, catchThrowable, catchThrowableOfType, contentOf, contentOf, contentOf, contentOf, contentOf, contentOf, doesNotHave, entry, extractProperty, extractProperty, fail, fail, fail, failBecauseExceptionWasNotThrown, filter, filter, from, in, linesOf, linesOf, linesOf, linesOf, linesOf, linesOf, not, not, notIn, offset, offset, registerCustomDateFormat, registerCustomDateFormat, registerFormatterForType, setAllowComparingPrivateFields, setAllowExtractingPrivateFields, setLenientDateParsing, setMaxElementsForPrinting, setMaxLengthForSingleLineDescription, setRemoveAssertJRelatedElementsFromStackTrace, shouldHaveThrown, tuple, useDefaultDateFormatsOnly, useDefaultRepresentation, useRepresentation, within, within, within, within, within, within, within, within, within, withinPercentage, withinPercentage, withinPercentage, withPrecision, withPrecision
-
-