MyEclipse junit Test Problem Initializationerror

Source: Internet
Author: User

The situation of the problem is as above.

The solution to the problem is to check the entire line of the function instead of just the function name, as checked to run the JUnit test.

Testmysql.testdrivermannager1
unrooted Tests
Initializationerror (Org.junit.runner.manipulation.Filter)
Java.lang.Exception:No tests found matching Method testDriverMannager1 (testmysql.testmysql) from [email protected]

At Org.junit.internal.requests.FilterRequest.getRunner (filterrequest.java:35)

At Org.eclipse.jdt.internal.junit4.runner.junit4testreference.<init> (junit4testreference.java:33)

At Org.eclipse.jdt.internal.junit4.runner.junit4testmethodreference.<init> (JUnit4TestMethodReference.java : 25)

At Org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest (junit4testloader.java:54)

At Org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests (junit4testloader.java:38)

At Org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests (remotetestrunner.java:452)

At Org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests (remotetestrunner.java:683)

At Org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run (remotetestrunner.java:390)

At Org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main (remotetestrunner.java:197)

MyEclipse junit Test Problem Initializationerror

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.