TestNG listener element

Hi there,

We are evaluating Idea and our first test was verifying that our TestNG test will run.

************ Everything seems ok other than: ]]>
shows as not being valid in the testng.xml with the error of "Element listeners is not allowed here" and is not recognized during test execution.

Please help!
Thanks!

Edited by: Thomas Wood on Jun 18, 2008 11:25 PM

Edited by: Thomas Wood on Jun 18, 2008 11:32 PM

1 comment
Comment actions Permalink

Hello Thomas,

This looks like a bug (at least the incorrect error highlighting of the .xml
file). Please file a JIRA issue at http://www.jetbrains.net/jira/ and, if
possible, attach your complete testng.xml file.

Hi there,

We are evaluating Idea and our first test was verifying that our
TestNG test will run.

<suite name="Indigo Circ Functional Tests">
<listeners>
<listener
class-name="com.tlcdelivers.indigocirc.tests.PriorityInterceptor" />
</listeners>
<test name="IE 7">
************
</test>
</suite>
Everything seems ok other than:
<listeners>
<listener
class-name="com.tlcdelivers.indigocirc.tests.PriorityInterceptor" />
</listeners>
shows as not being valid in the testng.xml with the error of "Element
listeners is not allowed here" and is not recognized during test
execution.
Please help!
Thanks!

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.