Home · Blog · Talks · Projects

Hellish XML

So now you can write test cases for ANT in XML using AntUnit.

You can even write assertions in XML …

<!-- the actual test case -->
<target name="testTouchCreatesFile">
  <au:assertFileDoesntExist file="${foo}"/>
  <touch file="${foo}"/>
  <au:assertFileExists file="${foo}"/>
</target>

… but why?

Perhaps the time is ripe for an XML mocking library ;-)

Contact · History · Colophon · Links