Eclipse testng Plug-in installation

Source: Internet
Author: User
Tags testng

1. Installing testng

In Eclipse, click Help→install New software→ Click Add, enter Http://beust.com/eclipse in location, select TestNG version, click "Next", follow the prompts to install, Restart eclipse after installation.

After the installation is complete, right-click on the project → Select Properties, the "TestNG" tab indicates the installation is successful.

2. Create a new Testng.xml document with the following configuration code: (see 06 for details). TestNG Basic Note Introduction)

3. Testing.xml Right click on Run as→testng Test, you can let TestCase run in the order set, and generate reports.

When you refresh the current project, you will find a Test-output folder that runs TestNG Auto-generated to view the HTML-formatted report generated by this test.

Eclipse testng Plug-in installation

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.