testngとrun(スイートxmlではない)の複数のテストクラスを受け入れる必要があるantタスクを呼び出したいのですが、これはテストクラスのコンマ区切りのリストと非常によく似ています。ドキュメントを確認したところ、手がかりが見つかりませんでした。可能性はありますか、教えてください。
これは、単一のテストを実行するための私のアリのタスクです。
<target name="run-class"
description="run a specific test class. Requires class.name property set to fully-qualified name of class">
<some properties />
<testng classpathref="lib.path"
outputDir="${outputDir}"
workingDir="${workingDir}"
verbose="2"
useDefaultListeners="false"
listeners="${testng.listeners}"
className="${class.name}"
delegateCommandSystemProperties="true"
configFailurePolicy="continue">
<jvm params/>
</testng>
</target>
私はこれを次のように呼び出します: ant run-class -Dclass.name=com.vmware.CreateVM -DParallel=true
複数のテストクラスを受け入れる必要がある上記の別のantタスクを提供したいと思います(スイートxmlファイルとしてではありません)