Sharad, Nigel.
I'm trying to finish the conversion of the junit tests into testng and
have accomplished a certain success. A couple of very special issues I
came across:
- a generated interface build/test/src/org/apache/avro/Test.java was
a source of errors when TestNG imports we added into test files. I had
to rename test.js to generated.js and refactor few tests to work with
the new name. Generally, using names like Test for helper classes might
be a source of troubles.
- it seems that some of the tests have to be executed in a certain
order. I probably should be able to derive the order of the execution by
re-engineering build.xml file itself. However, before I'll jump on it
I'd like to know if someone here has any information about required java
test execution sequence.
So, looks like the conversion process goes Ok, but it isn't seamless and
require a significant amount of manual work.
Thanks for any information,
Cos
Sharad Agarwal wrote:
Sounds good. I think you can create a Jira and provide a patch.
- create an XML listing of tests to be executed (simple selection of
**/*.class doesn't work in this case)
I don't know much about Test NG, but can we workaround this issue?
Maintaining an XML file seems to be an overhead.
- Sharad