Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在学习如何使用 Android 版本的 JUnit,我对TestCase. 特别是,我如何决定何时扩展ActivityUnitTestCase,或而不是?也许我的部分困惑是我对一般测试不熟悉,而且我不清楚不同类型的测试(例如单元、功能、集成等)之间的差异。我认为一些例子可能有助于为我消除一些这种困惑。ActivityTestCaseInstrumentationTestCaseAndroidTestCaseActivityInstrumentationTestCase2
TestCase
ActivityUnitTestCase
ActivityTestCase
InstrumentationTestCase
AndroidTestCase
ActivityInstrumentationTestCase2