Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Migrate to JUnit5 #66

Open
rsvoboda opened this issue Sep 22, 2017 · 1 comment
Open

Migrate to JUnit5 #66

rsvoboda opened this issue Sep 22, 2017 · 1 comment

Comments

@rsvoboda
Copy link
Member

Migrate to JUnit5

http://junit.org/junit5/docs/current/user-guide/#release-notes-5.0.0

@rsvoboda
Copy link
Member Author

Move to junit-vintage seems to be the only possible step at the moment

ARQ support for JUnit 5 is still TBD, tracked in https://issues.jboss.org/browse/ARQ-2066
Initial PoC is no longer working due to API change

Planned changes to TestCase files on class level, more inside

-import org.jboss.arquillian.junit.Arquillian;
-import org.junit.Test;
-import org.junit.experimental.categories.Category;
-import org.junit.runner.RunWith;
+import org.junit.jupiter.api.Tag;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.extension.ExtendWith;
 import org.wildfly.test.integration.vdx.TestBase;
-import org.wildfly.test.integration.vdx.category.StandaloneTests;

-@RunWith(Arquillian.class)
-@Category(StandaloneTests.class)
+@ExtendWith(ArquillianExtensionTBD.class)
+@Tag("StandaloneTests")

Resources:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant