Hellish XML

Posted by James Mead Tue, 17 Oct 2006 03:26:00 GMT

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 ;-)

Tags , , , , , , ,  | 1 comment

Comments

  1. Damian Guy said about 3 hours later:

    The next project I am on will be done completely using ant scripts! It has everything. Move over RoR, Ant Hills are coming!

Comments are disabled