Yes, but that is not a trivial question to answer because it depends on what you want to test (the aspect being woven into the right places, the advice functionality etc.) and what your aspect looks like. Please try to be more specific and provide a code sample (preferably a complete and compileable one) and backgound info about what exactly you want to achieve/test.
Aspects by nature are implement cross-cutting concerns, so in order to test them in isolation you need to prepare an environment for them to live in, e.g. test classes they should be woven into. There is not general answer to such an unspecific question, I am afraid. But I think with more information we will be able to help you. :-) -- Alexander Kriegisch > Am 06.02.2014 um 16:56 schrieb Muhammad Adinata <mail.die...@gmail.com>: > > Hello, > > Is there any way to test standar aspect class (not annotation style) with > JUnit or other testing framework? > > I can't found any guide about it in the documentation, and the annotation > style generally tested for Spring. > > -- > Muhammad Adinata > 13509022 - Informatika ITB 2009 > _______________________________________________ > aspectj-users mailing list > aspectj-users@eclipse.org > https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/aspectj-users