|
|
|
|
|
Re: Restarting Eclipse under test [message #1069661 is a reply to message #1069654] |
Tue, 16 July 2013 06:22  |
Eclipse User |
|
|
|
On 07/16/2013 12:09 PM, pawan garia wrote:
> Hi Mickael,
> I tried Using the Restart Functionality With SWTBOT in my Product and
> Found Some thing unusual, Following is My Test. So Every Time i Run this
> class File Swtbot is Running the Fist TestCase and Restart Eclipse and
> Start the Same Testcase again and Again... It is Not Running the Second
> TestCase.
The restart functionality cannot be tested with SWTBot because "Restart"
will just restart Eclipse with the exact same options and won't continue
a Test Suite.
If you want to run a sequence of tests separated by restart, this has to
be implemented in the way you run those tests (Tycho Surefire, Bash,
Ant...) to actually run sequentially different test suites.
Just let the test suite run and close by itself, without using Restart.
--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
|
|
|
Powered by
FUDForum. Page generated in 0.04354 seconds