Hi,

Aaron Zeckoski schrieb:
> I meant any tests but it is possible that the ones I tried were
> integration tests only. I was trying to run the launchpad tests to

Yes, the tests in launchpad/testing are all integration tests.

> figure out what silly thing I had done wrong. I ended up resorting to
> simply building and running the tests like so:
> cd launchpad
> mvn clean install -fbase/pom.xml
> mvndebug install -ftesting/pom.xml

You could also just run the integration tests without installing:

cd launchpad/testing
mvn clean integration-test

> 
> Perhaps not an ideal solution but for developing the launchpad and
> debugging it works well enough.

Yes, true.

Regards
Felix

> -AZ
> 
> 
> On Fri, Apr 24, 2009 at 7:45 PM, Felix Meschberger <[email protected]> wrote:
>> Hi Aaron,
>>
>> Aaron Zeckoski schrieb:
>>> I am having trouble getting the tests to run while in eclipse. Does
>>> anyone else have this working and if so, can you post the process you
>>> might have used for getting the project imported into eclipse.
>> Do you mean the integration tests ?
>>
>> You should be able to import the launchpad/testing module just like any
>> module into Eclipse. But to run the tests against Sling, you must run
>> Sling separately. I have setup two external launchers for Sling: One for
>> the web app using "mvn jetty:run" and one for the standalone Sling,
>> which just runs the executable JAR file.
>>
>> For running integration tests I usually launch the web app based
>> configuration (since this may also be used to on-demand build the web
>> app if required).
>>
>> Hope this helps.
>>
>>> Apologies if this is documented somewhere, RTFM is appropriate if so.
>> Most probably it is more like WTFM (Write the F* Manual) ;-)
>>
>> Regards
>> Felix
>>
> 
> 
> 

Reply via email to