[tracker] XML describing the functional tests available



commit 6574cfd79fa074cc39028063062b9e7d7e7bb181
Author: Ivan Frade <ivan frade nokia com>
Date:   Thu Oct 15 15:56:55 2009 +0300

    XML describing the functional tests available

 tests/functional-tests/tests.xml |   26 ++++++++++++++++++++++++++
 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 0000000..b81e016
--- /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>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]