[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.webtools] Re: JSDT tests errors/failures
|
Konstantin Scheglov wrote:
I've checked out from CVS following plugins:
org.eclipse.wst.jsdt.core
org.eclipse.wst.jsdt.core.tests.compiler
org.eclipse.wst.jsdt.core.tests.model
However when I try to see how good is JSDT to use its API, and try to
run even simple tests, such as
org.eclipse.wst.jsdt.core.tests.dom.ASTTest, I see that there is a lot
of errors (7) and failures (47) in 168 tests. I see assertations that
will fail alwais:
assertTrue(TagElement.TAG_SINCE.equals("@since")); //$NON-NLS-1$
because of
public static final String TAG_SINCE = " "; //$NON-NLS-1$
So, this raises question - is JSDT really working if it has no tests?
Konstantin. How are you trying to run the tests? What version of
Eclipse are you using, the code in head needs to have Eclipse 3.5.
I was able to successfully run the wst.jsdt.core.tests.compiler tests suite.
I did have problems getting the jsdt.core.tests.model tests to run.
Honestly, I'm not sure how accurate most of those really are. What I
did find out is that not all of the tests are run during a build. There
are many invalid or just plain wrong tests.
The test suites that are run typically are:
JSDTCompilerTests
JSDTModelTests
org.eclipse.wst.jsdt.web.ui.tests
AllWebUITests
org.eclipse.wst.jsdt.web.core.tests
AllWebCoreTests
I'll open a bug against JSDT to see if we can get the extraneous tests
removed or at least working and added to the test suite.
Dave