Any good examples of using @Before instead of setup
Tony Evans
Ranch Hand
Joined: Jun 29, 2002
Posts: 521
posted
0
In all the examples I have seen its just
@Before
public void setUp(){
}
But just using @Before resualts in a comple error, its expecting a value after before. Its not the test that needs to be carried out or the method the test is testing.
Tony Evans
Ranch Hand
Joined: Jun 29, 2002
Posts: 521
posted
0
Found the problem was using import org.aspectj.lang.annotation.Before.
instead of import org.junit.Before;
If anyone knows of any good tutorials on using the import org.aspectj.lang.annotation.Before. can you link it here thanks.