JSDT tests errors/failures [message #230972] |
Sat, 02 May 2009 08:09 |
Konstantin Scheglov Messages: 555 Registered: July 2009 |
Senior Member |
|
|
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 Scheglov,
Google, Inc.
|
|
|
Re: JSDT tests errors/failures [message #230983 is a reply to message #230972] |
Sat, 02 May 2009 15:36 |
Eclipse User |
|
|
|
Originally posted by: dcarver.starstandard.org
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
|
|
|
Re: JSDT tests errors/failures [message #230991 is a reply to message #230972] |
Sat, 02 May 2009 15:41 |
Eclipse User |
|
|
|
Originally posted by: dcarver.starstandard.org
I've opened the following bug to help address the problem you have raised.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=274729
Please copy yourself on that bug and provide us with any additional
information you may have. I.e. Which tests and test suites are you
running that are failing.
Dave
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?
|
|
|
|
Powered by
FUDForum. Page generated in 0.04029 seconds