Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ajdt-dev] End of class run : junit aspectj

Can you use @AfterClass annotated method?

Per http://junit.sourceforge.net/javadoc/org/junit/AfterClass.html - "Annotating a public static void method with @AfterClass causes that method to be run after all the tests in the class have been run

I think an @AfterClass annotated method in a suite will do a similar job when the suite is done.

cheers,
Andy

On Dec 16, 2015, at 6:48 AM, ilke Muhtaroglu <ilke.muhtaroglu@xxxxxxxxx> wrote:

 
I have a Junit test classes with differening amount of unit test methods in it.

I want to detect when a class finishes running its test methods, so that I can do a computation.

How can I detect when a class finishes its unit test methods ? Via teardown method or something similar ? And how can I similary understand that a test suite made of Junit test classes finishes its call ?

Thanks

_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ajdt-dev


Back to the top