Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] how to populate test workspace

Hi Alexey

On Fri, May 6, 2011 at 7:13 PM, Alexey Panchenko
<alex.panchenko@xxxxxxxxx> wrote:
> Hi Iulian,
>
> Just do it in test setup methods.
> Create the function and call it from different test cases.

Thank you for the quick answer. I was hoping I can get around the
programmatic project setup :) I'll follow the JDT model then, though I
still think having some configuration option to use existing projects
would be less hassle.

cheers,
iulian

>
> For example you can look at how it's done in jdt.tests:
> http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/AbstractJavaModelTests.java?view=markup
> see setUpJavaProject() method
>
> Regards,
> Alex
>
> On Fri, May 6, 2011 at 17:59, iulian dragos <jaguarul@xxxxxxxxx> wrote:
>> Hello all,
>>
>> I am trying to set up tests for our Scala plugin for Eclipse, and I'd
>> like to have a test workspace that already has some projects on which
>> to test plugin functionality. I saw this ticket, but unfortunately the
>> resolution is "won't fix" (but in different words):
>>
>> https://issues.sonatype.org/browse/TYCHO-295
>>
>> I am new to tycho/maven, so I may be wrong, but what's the preferred
>> solution to create such projects? I'm mostly interested in testing
>> large projects, so creating everything in the test runner is a bit
>> inconvenient: in the end, it's still just file copying.
>>
>> thanks,
>> iulian
>>
>> --
>> « Je déteste la montagne, ça cache le paysage »
>> Alphonse Allais
>> _______________________________________________
>> tycho-user mailing list
>> tycho-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>



-- 
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais


Back to the top