blob: 8266bccde9cd3c6db79dc785b3b1e040c48013aa [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<org.eclipse.epf.uma:TaskDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:org.eclipse.epf.uma="http://www.eclipse.org/epf/uma/1.0.3/uma.ecore" epf:version="1.0.0" xmi:id="-fm-gBePbdl_WMsE5NxEreQ" name="automate_acceptance_test,{E614ED93-AE72-4FD1-B459-C508CE1C536F}" guid="-fm-gBePbdl_WMsE5NxEreQ" version="1.0.0">
<sections xmi:id="_oNCOIGE-EdqnIZeW8YpHcA" name=" General " guid="_oNCOIGE-EdqnIZeW8YpHcA">
<sectionDescription>&lt;a id=&quot;Prep&quot; name=&quot;Prep&quot;&gt;&lt;/a&gt;
&lt;p&gt;
XP teams represent detailed requirements as automated customer tests. Automating the tests insures they are detailed,
unambiguous, and executable. Typically, each acceptance criteria is translated into at least one automated test.
&lt;/p&gt;
&lt;p&gt;
There are lots of ways to do this:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
For a batch program reading inputs and producing outputs: create test input files, capture actual output, and
compare it against expected output.
&lt;/li&gt;
&lt;li&gt;
Write functional tests as programs. You can use a unit testing framework as a base or create a little scripting
language the programmers can use.
&lt;/li&gt;
&lt;li&gt;
Allow the customer to easily specify tests (spreadsheets, flat text files) and create a small tool to read the
input and expected output. The tool runs the input against the system and checks that the actual output matches the
expected output.
&lt;/li&gt;
&lt;li&gt;
Build an input recorder to allow customers to define the tests.
&lt;/li&gt;
&lt;li&gt;
Use simple file-based tools to check the results.
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
It is important to build the automation simply and incrementally as you need it. It is too easy to lose control and
invest too much time in test automation instead of business value. Don't overdo it.
&lt;/p&gt;</sectionDescription>
</sections>
<purpose>&lt;a id=&quot;XE_automate_customer_test__activity_definition&quot; name=&quot;XE_automate_customer_test__activity_definition&quot;&gt;&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;
Transform the acceptance criteria of a user story into executable form.
&lt;/li&gt;
&lt;/ul&gt;</purpose>
</org.eclipse.epf.uma:TaskDescription>