Skip to content

Instantly share code, notes, and snippets.

@nikuyoshi
Created August 4, 2015 14:25
Show Gist options
  • Save nikuyoshi/b2e9a09c994896797b4a to your computer and use it in GitHub Desktop.
Save nikuyoshi/b2e9a09c994896797b4a to your computer and use it in GitHub Desktop.
JUnitで依存関係のあるテストメソッドを順序通りに実行させる方法 ref: http://qiita.com/nikuyoshi/items/e66ea8b1dfadf7ba52c2
class TestClass {
public void test1(){
// do something
}
public void test2(){
// do something
}
@Test
public void test1Totest2(){
test1();
test2();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment