This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
JUnit test extensions
Vlado Pakan edited this page Aug 5, 2014
·
18 revisions
- IBeforeTest
- Before Test extension point schema definition
- IAfterTest
- After Test extension point schema definition
- CloseWelcomeScreenExt - Before Test Extension
- DoNotDownloadMavenIndexesExt - Before Test Extension
- CloseAllShellsExt - After Test Extension
JUnit test extensions are actions automatically invoked before or after each and every test is run. They should replace using JUnit annotations @After and @Before for actions invoked for every test so there is no need to copy these action to every test source code.
JUnit extensions are implemented via IBeforeTest and IAfterTest extension points defined within org.jboss.reddeer.junit plugin.
These extension points are implemented within org.jboss.reddeer.junit.extension plugin which is installed by org.jboss.reddeer.junit.extension.feature feature. This feature is mandatory and has to be installed in order to be able to use JUnit extensions defined in RedDeer.