[jbosstools-issues] [JBoss JIRA] (JBIDE-12971) Add mockito to the TP

Mickael Istria (JIRA) issues at jboss.org
Thu Jan 2 17:17:33 EST 2014


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

Mickael Istria commented on JBIDE-12971:
----------------------------------------

There are indeed good things about fragments that make them sometimes better than bundles for test (for example when it comes to package visibility). So I'm not trying to convince you to move from fragment to bundle, I was just giving food for thoughts.

I generally don't like forked stuff because they introduce technical debt (difficulty to move to newer versions, unexpected different behaviour...) , and as a maintainer of the JBoss Tools target platform I'd rather see a "vanilla" distribution in JBT TP.
It seems to me that the elegant way to get it working is to use a fragment, and I believe it wouldn't be difficult for you to adopt this standard approach and get rid of some forked code to maintain.
If you could give a link to the implementation of IMockitoConfiguration you'd like to use, I could try to make a pull request setting it up in a fragment and configuring tycho-surefire-plugin to use this during tests.
                
> Add mockito to the TP
> ---------------------
>
>                 Key: JBIDE-12971
>                 URL: https://issues.jboss.org/browse/JBIDE-12971
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: build
>    Affects Versions: 4.0.0.Beta1
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 4.2.0.Alpha2
>
>
> It would be great if we could use mockito (http://code.google.com/p/mockito/) in our tests. We would have to add it to our target platform (TP) for our plugins to use it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list