0
매우 많은 수의 테스트 케이스를 구현했으며이를 모두 한 번에 실행하지 않으려합니다.CTS가 Custom TestSuite를 시작할 수 없습니다.
package com.mytests;
import junit.framework.Test;
import junit.framework.TestSuite;
import com.mytests.MyTestClass1;
import com.mytests.MyTestClass2;
import com.mytests.MyTestClass3;
public class CustomSuite extends TestSuite {
public static Test suite() {
TestSuite suite = new TestSuite();
suite.addTest(createTest(MyTestClass1.class, "test3"));
suite.addTest(createTest(MyTestClass2.class, "test2"));
suite.addTestSuite(MyTestClass3.class);
return suite;
내가 아무 문제없이 이클립스 (으로 실행 >> 안드로이드의 JUnit 테스트)를 통해 시작할 수 있어요 :
나는 그들의 무리를 선택하기 위해 내 자신있는 TestSuite를 만들었습니다. 하지만 내 목표는 startcts 스크립트를 통해 실행하는 것입니다.cts_host > start --plan MyPlan -p com.mytests.CustomSuite
The specific test package does not exist: com.mytests.CustomSuite
cts_host > start --plan MyPlan -t com.mytests.CustomSuite#Test
The specific test does not exist: com.mytests.CustomSuite#Test
아이디어가 부족합니다. 누구든지 그 일을하는 방법을 알고 있습니까?
감사합니다, 빈센트