Created
August 4, 2015 14:25
-
-
Save nikuyoshi/b2e9a09c994896797b4a to your computer and use it in GitHub Desktop.
JUnitで依存関係のあるテストメソッドを順序通りに実行させる方法 ref: http://qiita.com/nikuyoshi/items/e66ea8b1dfadf7ba52c2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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