hello, with Junit4, i tried to write a test (.class) that contains 3 @test and need to open the appli in each test so in the function init that start the appli and close it : @BeforeClass public static void setupOnce() { final Thread thread = new Thread() {
public void run() {
//start the appli in the main
thread.start();
} } } @AfterClass public static void CloseAppli() {
closeAppli(); }
in my testClass : TestButtons.java I want to start the appli in each @test which is not possible... any idea ?