hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCORE-406) Refactor some test code to be sharable with OSGi tests
Date Sat, 29 Aug 2015 11:18:45 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721063#comment-14721063
] 

Benson Margulies commented on HTTPCORE-406:
-------------------------------------------

If Jenkins is still complaining about BasicIT, I think you need to wipe the workspace. But
I imagine you'd think of that. If it's complaining about something else, please post link.

> Refactor some test code to be sharable with OSGi tests
> ------------------------------------------------------
>
>                 Key: HTTPCORE-406
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-406
>             Project: HttpComponents HttpCore
>          Issue Type: Task
>            Reporter: Benson Margulies
>             Fix For: 4.4.2, 5.0-alpha1
>
>
> It would be good to use the test server when testing the OSGi bundle. However, it's in
src/test/java.
> There are three ways to reuse it: 
> *  [https://maven.apache.org/plugins/maven-jar-plugin/examples/create-test-jar.html]
business 
> * create another Maven subproject.
> * [http://www.mojohaus.org/build-helper-maven-plugin/add-test-source-mojo.html] and borrow
the source directory.
> While I'd usually consider the third to be really ugly, it does make it easy to get the
server into the 'test bundle' built by pax-exam. 
> I intend to try to work out how to use the first alternative.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message