[jbosstools-issues] [JBoss JIRA] (LOCUS-37) Add AssertJ to the TP

Xavier Coulon (JIRA) issues at jboss.org
Fri Jun 12 09:20:39 EDT 2015


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

Xavier Coulon commented on LOCUS-37:
------------------------------------

[~maxandersen] [~mickael_istria] I followed your instructions and it worked fine for me on LiveReload: I could finally remove all mvn dependencies (including Mockito).
[~maxandersen] could you update your PR to include a newer version of AssertJ ? The latest version that does not require Java 8 is 2.1.0. Starting from version 3.0.0, AssertJ supports Lambda expressions. IF it it is not an issue to use Lambda Expression in _test_ plugins, then I'd love to go with version 3 ;-)

> Add AssertJ to the TP
> ---------------------
>
>                 Key: LOCUS-37
>                 URL: https://issues.jboss.org/browse/LOCUS-37
>             Project: JBoss Tools Locus
>          Issue Type: Feature Request
>            Reporter: Xavier Coulon
>            Priority: Minor
>
> It would be great if we could use  in our tests. We would have to add it to our target platform (TP) for our plugins to use it.
> Reason: AssertJ provides us with a Fluent API to write test assertions.
> License and owner: Apache License 2.0 / https://github.com/joel-costigliola/assertj-core/blob/master/LICENSE.txt
> Original repository: (not an Eclipse bundle yet). Source and binaries available on Maven (http://search.maven.org/#artifactdetails|org.assertj|assertj-core|1.7.1|bundle)
> Source: https://github.com/joel-costigliola/assertj-core
> Affected projects: LiveReload and JAX-RS in the future
> Required in devstudio: No, only used for testing purpose
> Type of dependency: testing
> List of bundles added: assertj-core
> This issue is a replacement for JBIDE-12972 since AssertJ aims at replacing FestAssert which is not moving anymore.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list