summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Frade <ivan.frade@nokia.com>2009-10-15 15:56:55 +0300
committerIvan Frade <ivan.frade@nokia.com>2009-10-15 15:56:55 +0300
commit6574cfd79fa074cc39028063062b9e7d7e7bb181 (patch)
treedc605e731dfd0a70128986c0235a86d728064ed6
parentf4d205d8876330b0832e14b755565808efa4524c (diff)
downloadtracker-6574cfd79fa074cc39028063062b9e7d7e7bb181.tar.gz
XML describing the functional tests available
-rw-r--r--tests/functional-tests/tests.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/functional-tests/tests.xml b/tests/functional-tests/tests.xml
new file mode 100644
index 000000000..b81e016c1
--- /dev/null
+++ b/tests/functional-tests/tests.xml
@@ -0,0 +1,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="">
+ <!-- At least one step per test, expected_result optional - tells which return code is considered passed -->
+ <step expected_result="0">python /usr/share/tracker-tests/01-insertion.py</step>
+ </case>
+
+ <!-- Environments optional - tells where the tests are run -->
+ <environments>
+ <scratchbox>false</scratchbox>
+ <hardware>true</hardware>
+ </environments>
+
+ </set>
+ </suite>
+</testdefinition>