summaryrefslogtreecommitdiff
path: root/tests/functional-tests/tests.xml
blob: 4f7318df140fadcbcac6cd4902b02dbfe3f55d8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="ISO-8859-1"?>
<testdefinition version="0.1">
  <suite name="tracker-tests" domain="tracker-store"> 
    <!-- At least one set per suite, name and description mandatory -->
    <set name="testset1" description="Basic sparql tests" feature="sparql-insert">   
      <pre_steps>
        <!-- This doesn't seem to work -->
        <step>. /tmp/session_bus_address.user</step>
      </pre_steps>

      <!-- At least one case per set, name mandatory, description mandatory, other optional -->
      <case name="test_simple_insertion" type="unit" 
            description="Insert and check results" requirement="01" timeout="5" subfeature="">
        <!-- dbus env variables defined here. This works. -->
        <step expected_result="0">. /tmp/session_bus_address.user; python2.5 /usr/share/tracker-tests/01-insertion.py</step>
      </case>
 
      <!-- Environments optional - tells where the tests are run -->
      <environments>
        <scratchbox>true</scratchbox>
        <hardware>true</hardware>    
      </environments>
 
    </set>
  </suite>
</testdefinition>