I tried to use the jsfunitwar to add test classes to the war.
<lib file="build/test.jar" />
<classes dir="build/test-classes" includes="**/*.class"/>
the foo-jsfunit.war is created successfully, but it did not contain any test classes, nor test.jar which had been built in previous step.
thanks for help.
ignore this. my mistake. it is working.