Android Test Tutorial (3): Test project

Source: Internet
Author: User

The Android compilation and testing tool needs to test the structure of the project's organization that conforms to the reservation: Test case class, test kit, and testing project.

JUnit is the basis for the testing of Android, in general, a juint test for a statement that tests a part of an application. You can organize multiple test methods to form a test case, and multiple test cases can be Suites. Each test method is relatively independent, and a testing class, Tests class, contains a set of related test or other helper methods.

On the Android platform, you can use the test tool to transfer the test package and the application to be tested, and then execute Test runner to run the testing case.

To create a test project by using the Eclipse ADT tool:

1. Create the test project while creating the application, as shown below

Select Create a test project, ADT automatically creates corresponding test projects for the application

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.