Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Strategies for test driving Aspects?


On Oct 2, 2007, at 11:00 AM, Ron Bodkin wrote:

I'd start with Nick Lesiecki's excellent article on the subject:
http://www.ibm.com/developerworks/java/library/j-aopwork11/ index.html?S_TACT
=105AGX02&S_CMP=EDU as well as some of its references.

A good article. I also replied to both lists (TDD and this one) from my gmail account, but it bounced on this list, because I'm not subscribed from gmail. Anyway, I've expanded my answer a bit on the ObjectMentor blog:

http://blog.objectmentor.com/articles/2007/10/02/tdd-for-aspectj- aspects

dean


-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of James Carr
Sent: Tuesday, October 02, 2007 6:33 AM
To: testdrivendevelopment@xxxxxxxxxxxxxxx; aspectj-users@xxxxxxxxxxx
Subject: [aspectj-users] Strategies for test driving Aspects?

Hi all,

Recently I've become heavily involved with doing aspect oriented
programming, and I've been curious at what some of the strategies are
for testing them. The furthest I've gotten is writing unit tests on
the POJO representing the aspect, but I haven't quite figured out how
to test that the aspect is called at the correct joinpoint... any
ideas?

Thanks,
James
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Dean Wampler, Ph.D.
dean at objectmentor.com
http://www.objectmentor.com
See also:
http://www.aspectprogramming.com  AOP advocacy site
http://aquarium.rubyforge.org     AOP for Ruby
http://www.contract4j.org         Design by Contract for Java5

I want my tombstone to say:
  Unknown Application Error in Dean Wampler.exe.
  Application Terminated.
      [Okay]        [Cancel]





Back to the top