[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] How to test load-time-weaving with Equinox Aspects?
- From: Heiko Seeberger <heiko.reg@xxxxxxxxxxxxx>
- Date: Mon, 15 Dec 2008 15:07:15 +0100
- Delivered-to: email@example.com
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=axYYSyv0GMg8r4iGdQeM7NXBpny3cPlcFLPQ8KkLI5ra3OsrJsOCjmXYZF5J/TbNfs YMLIquCrbt+VRnU1xXe+vCnikjGdgkWK0+8CichHdXWc6DUrO66iuF+LeR/iKoMdXzdd cyY/fuCzjaz08LfV1k3mmPowDDkBGx4oaMcKk=
Very good question!
To answer that we have to define what we mean with unit testing.
If we really want to test the single units (classes and aspects) in
isolation, we have to test the classes and aspects separately. As
aspects themselves are hard (or not at all) testable, we have to write
some testee classes which will be woven with the aspects.
If we want to use JUnit or something like that in order to perform
some kind of integration testing, we of course can take our aspects
and the classes which are our intended targets for weaving altogether
and see whether the woven code behaves as expected. As far as I can
guess from what you wrote I think this is what you and your mate
intend to do.
Well, there is nothing special about running tests with Equinox
Aspects. You have to use the same settings as for running systems with
Equinox Aspects, i.e. specifying the framework extension, creating the
aspect bundles etc. In the CVS there are some examples ...
On 15.12.2008, at 13:24, Jens Goldhammer wrote:
Hello mailing list,
we have successfully integrated some aspects in our eclipse rcp
That´s really fine because it prevents us from stupid work to log each
A member of my development team controls the junit tests and wants
write some tests to see that the aspects are working. How can I do
there something special for aspect testing?
View this message in context: http://www.nabble.com/How-to-test-load-time-weaving-with-Equinox-Aspects--tp21012981p21012981.html
Sent from the Equinox - Dev mailing list archive at Nabble.com.
equinox-dev mailing list