You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't it be using the maven-failsafe-plugin ? It's the same old story between unit test and integration test but the Maven phase is different : mvn test with surefire and mvn integration-test with failsafe.
I usually use Arquillian with failsafe so I have my unit tests in one side, and my integration tests in another one (integration test classes finish with IT, example BookServiceIT). Also remember that maybe one day, Forge will have an junit-create-test command. It would be good to have junit-create-test and arquillian-create-test doing things separate (unit test vs integration tests).
What do you think ?
The text was updated successfully, but these errors were encountered:
I hope one day Forge will have JUnit commands (junit-setup, junit-create-test, ...) and I would expect these ones to be in the test phase. As for Arquillian tests, it would be good if they were in a different phase (I like the idea of surefire with an integration phase) as well as a different naming convention to differentiate them (eg. BookServiceTest for a unit test, and BookServiceIT for an integration test)
When we create an Arquillian test with the Forge addon, each profile ends up using the
maven-surefire-plugin
:Shouldn't it be using the
maven-failsafe-plugin
? It's the same old story between unit test and integration test but the Maven phase is different :mvn test
with surefire andmvn integration-test
with failsafe.I usually use Arquillian with failsafe so I have my unit tests in one side, and my integration tests in another one (integration test classes finish with
IT
, exampleBookServiceIT
). Also remember that maybe one day, Forge will have anjunit-create-test
command. It would be good to havejunit-create-test
andarquillian-create-test
doing things separate (unit test vs integration tests).What do you think ?
The text was updated successfully, but these errors were encountered: