第四步
把TestMyBean
一些擴展
對於WEB應用程序
public static Test suite ( ) {
TestSuite suite= new TestSuite(All JUnit Tests );
suiteaddTest(VectorTest suite());
suiteaddTest(TestMyBean suite());
return suite;
}
[
From:http://tw.wingwit.com/Article/program/Java/ky/201311/29244.html