舉個例子來說,若將使用JUnit 3.x 中的範例改以JUnit 4.x的方式來撰寫,可以如下:. CalculatorTest.java. package test.cc.openhome; import static org.junit.
確定! 回上一頁