<commands>
   <command>
      <name>add-test</name>
      <title>Add a new test package to the application</title>
      <usage>add-test MODULE</usage>
      <help><![CDATA[
  The test framework consists of a set of test cases that are registered in a testsuite.
  A test harness allows to execute the tests registered in the testsuite.  This command
  generates the test harness, testsuite framework and a test case for the module.
  The following files are created:
  
    tests.gpr.in
    regtests/<project>_harness.adb
    regtests/<project>-testsuite.ads
    regtests/<project>-testsuite.adb
    regtests/<project>-<module>-tests.ads
    regtests/<project>-<module>-tests.adb
]]>      </help>
      <param optional='false' name='moduleName' arg='MODULE'/>
      <basedir></basedir>
      <template>add-test/test-spec.xhtml</template>
      <template>add-test/test-body.xhtml</template>
      <template>add-test/test-testsuite-spec.xhtml</template>
      <template>add-test/test-testsuite-body.xhtml</template>
      <template>add-test/test-harness.xhtml</template>
      <template>add-test/tests.gpr.in.xhtml</template>
   </command>
</commands>

<commands>
   <command>
      <name>add-test</name>
      <title>Add a new test package to the application</title>
      <usage>add-test MODULE</usage>
      <help><![CDATA[
  The test framework consists of a set of test cases that are registered in a testsuite.
  A test harness allows to execute the tests registered in the testsuite.  This command
  generates the test harness, testsuite framework and a test case for the module.
  The following files are created:
  
    tests.gpr.in
    regtests/<project>_harness.adb
    regtests/<project>-testsuite.ads
    regtests/<project>-testsuite.adb
    regtests/<project>-<module>-tests.ads
    regtests/<project>-<module>-tests.adb
]]>      </help>
      <param optional='false' name='moduleName' arg='MODULE'/>
      <basedir></basedir>
      <template>add-test/test-spec.xhtml</template>
      <template>add-test/test-body.xhtml</template>
      <template>add-test/test-testsuite-spec.xhtml</template>
      <template>add-test/test-testsuite-body.xhtml</template>
      <template>add-test/test-harness.xhtml</template>
      <template>add-test/tests.gpr.in.xhtml</template>
      <patch>
          <template>add-test/patch-testsuite-body-1.xhtml</template>
		  <after>with *.*.Tests;</after>
		  <before>package body *.Testsuite is</before>
      </patch>
      <patch>
          <template>add-test/patch-testsuite-body-2.xhtml</template>
		  <after>package body *.Testsuite is</after>
		  <after> function Suite</after>
		  <after> begin</after>
		  <before> return Tests'Access;</before>
      </patch>
   </command>
</commands>

Patch the testsuite to add the new tests
Patch the testsuite to add the new tests
