Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » SWTBot and JExample and Test Dependency
SWTBot and JExample and Test Dependency [message #816269] Thu, 08 March 2012 16:22
Roy Wood is currently offline Roy Wood
Messages: 4
Registered: March 2012
Junior Member
I understand all the talk about how tests should be totally independent of each other, however sometimes there needs to be dependency and ordering.

I've found something called JExample (I'd put a link but I'm not permitted) to help me do that, but It just doesn't want to play nice with SWTBot but works fine with simple JUnit

I need test B to run strictly after test A is complete and C Strictly after B. If not then I'm going to have to copy huge amounts of code for lots of tests and when something changes I'm going to have to make a crapload of alterations. I really need to modularise if I can.

Anyone have any ideas?

Dream would would be being able to have
@Test0
public void TestA() {//Stuff}

@Test1
public void TestB() {//Stuff}

@Test2
public void TestC() {//Stuff}


I'm not wanting a long stream of A->B->C->D->E
more like D-P will be dependent on A->B->C and Q-Z will be dependent only on A->B

Do I make sense or do I sound crazy? haha

[Updated on: Thu, 08 March 2012 16:23]

Report message to a moderator

Previous Topic:Need Help with SWTBOT testing
Next Topic:Hyperlink click
Goto Forum:
  


Current Time: Mon Oct 20 08:12:05 GMT 2014

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

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