Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [virgo-dev] Test Framework

Hi,

I've also been struggling with the test framework. My feeling is that
there are a lot of configuration files, manifests, annotations, etc
that need to be carefully written (and duplicated) for each
integration test. All in all, a lot of tedious and error-prone setup
and lots of places where things can go wrong which leads to a lot of
head scratching due to the, often quite complex, troubleshooting that
is required to get to the root cause.

It would be really nice to have a test framework that takes care of
more of the heavy lifting. For example, something similar to the
Spring-DM testing framework, where a test case could extend a
AbstractVirgoKernelTestCase/AbstractVirgoWebServerTestCase or
something similar, that starts the test bundle (and any additional
test bundles pulled in by the test case subclass) inside a Virgo
Kernel or Virgo web server. Perhaps with the ability of the concrete
test class to provide custom Virgo options/properties by programmatic
means.

Has anything along those lines been discussed/planned in Virgo?

best regards, Peter

On Tue, Feb 1, 2011 at 2:48 AM, Wesley Silva <wesleyse@xxxxxxxxx> wrote:
> Hi Dmitry
> Thanks a lot for the answer!
> I'm using ant, but without ivy for now.
>
> On Mon, Jan 31, 2011 at 10:11 PM, Dmitry Sklyut <dmitry@xxxxxxxxxxx> wrote:
>>
>> Hi Wesley,
>> Currently the only documentation that I know of is located on virgo wiki
>> (http://wiki.eclipse.org/Virgo/Test#Virgo_Test_Framework).
>> I would still recommend looking at the kenel test modules to get a better
>> fill for the usage.
>> Good place to start looking is virgo kernel web
>> support: http://git.eclipse.org/c/virgo/org.eclipse.virgo.web.git/tree/org.eclipse.virgo.web.test
>> or
>> Snaps: http://git.eclipse.org/c/virgo/org.eclipse.virgo.snaps.git/tree/org.eclipse.virgo.snaps.test.
>> Hope this helps.  I will try to put together a working example this week
>> with a writeup.  What build tool are you using to run your tests?  Ant,
>> Maven, other?
>> Regards,
>> Dmitry
>> On Mon, Jan 31, 2011 at 7:00 PM, Wesley Silva <wesleyse@xxxxxxxxx> wrote:
>>>
>>> Hi all Virgo Team,
>>> I'm trying in any ways to get Virgo to work in my company and a huge
>>> problem that i'm currently having is to get our system to work with virgo
>>> test framework. Could someone send an simple example of a wab (consuming
>>> tests from another bundle through spring dm ) been tested with this
>>> framework?
>>>
>>> --
>>> Att,
>>> Wesley
>>> MSc Candidate in Software Engineering
>>> Specialist in Test Analisys (CIn/UFPE - Motorola)
>>> B.S. in Computer science - UFS
>>> Sun Certified Java Programmer
>>> Sun Certified Web Component Developer
>>>
>>> _______________________________________________
>>> virgo-dev mailing list
>>> virgo-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/virgo-dev
>>>
>>
>>
>> _______________________________________________
>> virgo-dev mailing list
>> virgo-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/virgo-dev
>>
>
>
>
> --
> Att,
> Wesley
> MSc Candidate in Software Engineering
> Specialist in Test Analisys (CIn/UFPE - Motorola)
> B.S. in Computer science - UFS
> Sun Certified Java Programmer
> Sun Certified Web Component Developer
>
> _______________________________________________
> virgo-dev mailing list
> virgo-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/virgo-dev
>
>


Back to the top