के अंदर परीक्षण चलाता है मैं शुद्ध जुनीट 4 परीक्षण का उपयोग कर रहा हूं और मैंने उन्हें क्लासपाथ से संबंधित कुछ जारों के अंदर संकलित किया है। मैं अपने क्लासपाथ में सभी परीक्षणों को चलाने के लिए चाहता हूं।JUnit एक JAR
क्या कोई तरीका है?
मेरे कार्य लगता है:
<target name="test" description="All the tests">
<junit fork="yes">
<classpath>
<path refid="test.classpath" />
<fileset dir="war/WEB-INF/lib/">
<include name="*.jar"/>
</fileset>
<fileset dir="war/WEB-INF"/>
<fileset dir="war"/>
</classpath>
<formatter type="plain" usefile="false" />
</junit>
</target>
यह बस काम कर रहा है, धन्यवाद –