[arquillian-issues] [JBoss JIRA] (ARQ-2202) Include org.hamcrest out of box

Ladislav Thon (Jira) issues at jboss.org
Thu Jan 3 06:21:00 EST 2019


    [ https://issues.jboss.org/browse/ARQ-2202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13677931#comment-13677931 ] 

Ladislav Thon commented on ARQ-2202:
------------------------------------

My understanding is that JUnit 4 _requires_ Hamcrest to be present, otherwise loading some JUnit classes fails. TestNG doesn't have such dependency on Hamcrest, which is why Arquillian's {{TestNGDeploymentAppender}} doesn't (and IMHO shouldn't) automatically include it.

> Include org.hamcrest out of box
> -------------------------------
>
>                 Key: ARQ-2202
>                 URL: https://issues.jboss.org/browse/ARQ-2202
>             Project: Arquillian
>          Issue Type: Bug
>          Components: Build Infrastructure
>         Environment: n/a
>            Reporter: Emily Jiang
>            Priority: Major
>
> At the moment, if I want to use org.hamcrest, I have to package the classes on my own. I think it will be great if the class TestNGDeploymentAppender adds org.hamcrest classes automatically. It will be great. By the way, I think in junit, org.hamcrest classes are accessible out of box. I think TestNG should match that.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the arquillian-issues mailing list