Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » CONSECUTIVES TEST
CONSECUTIVES TEST [message #17650] Mon, 26 January 2009 17:44 Go to next message
Luis Miguel is currently offline Luis MiguelFriend
Messages: 31
Registered: July 2009
Member
Hello,
I am trying to test a plugin for eclipse. I have got a junit test case
with several methods (or test case). I want to test all but when a method
is tested, the following method continues and does not reset the
application.
Can I test all tests in a single run?

Thanks and regards.

Luis Miguel
Re: CONSECUTIVES TEST [message #17663 is a reply to message #17650] Tue, 27 January 2009 03:19 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
Luis,

JUnit provides for setUp() and tearDown() methods, that allow you to
setup and clean up before each test case executes. That is probably what
you're looking for.

The JUnit site will have more information and examples on this:
http://junit.sourceforge.net/doc/testinfected/testing.htm

-- Ketan

On 26/1/09 23:14, Luis Miguel wrote:
> Hello,
> I am trying to test a plugin for eclipse. I have got a junit test case
> with several methods (or test case). I want to test all but when a
> method is tested, the following method continues and does not reset the
> application.
> Can I test all tests in a single run?
>
> Thanks and regards.
>
> Luis Miguel
>
Previous Topic:Finding n-th widget of any type
Next Topic:widgetWithId(String) -> widgetWithId(Object)
Goto Forum:
  


Current Time: Sat Nov 09 01:41:02 GMT 2024

Powered by FUDForum. Page generated in 0.03239 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top