Mercurial > trustbridge
annotate extras/testplan/README.txt @ 1091:0ae3c99b82ee 0.9.2
Use release version urls again
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Fri, 12 Sep 2014 16:11:03 +0200 |
parents | de1e3a47ed21 |
children |
rev | line source |
---|---|
614
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
1 = Test plan for TrustBridge |
599
a54d37c4483a
Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff
changeset
|
2 |
614
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
3 TrustBridge uses the Free Software test plan framework |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
4 [[https://wald.intevation.org/projects/intests/]] |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
5 to fill out test plans with a simple web server. |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
6 InTEsts can also produce PDF output. |
599
a54d37c4483a
Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff
changeset
|
7 |
614
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
8 To start, fetch the current version of inTests: |
599
a54d37c4483a
Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff
changeset
|
9 |
614
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
10 {{{ |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
11 hg clone https://hg.intevation.org/intests |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
12 }}} |
599
a54d37c4483a
Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff
changeset
|
13 |
a54d37c4483a
Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff
changeset
|
14 |
614
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
15 == Completing a test plan |
599
a54d37c4483a
Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff
changeset
|
16 |
614
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
17 # Create a working copy of original testplan.xml into the intests directory: |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
18 {{{ |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
19 cd intests |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
20 cp /path/to/testplan.xml testplan.xml |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
21 }}} |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
22 # Start web server [optional with port number]: |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
23 {{{ |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
24 python main.py testplan.xml [PORT] |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
25 }}} |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
26 # Enter test information |
599
a54d37c4483a
Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff
changeset
|
27 (date, OS, tester, version, comment) |
614
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
28 # Run all tests of each test suite and |
599
a54d37c4483a
Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff
changeset
|
29 record the test results (yes = passed, no = failed, n/a). |
614
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
30 # Quit web server |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
31 # Create test plan protocol as PDF: |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
32 {{{ |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
33 xsltproc --stringparam lang de xforms/xml2tex.xsl testplan.xml > tex/testplan.tex |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
34 cd tex |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
35 make testplan.pdf |
de1e3a47ed21
testplan: README.txt improved and converted to Creole.
Bernhard Reiter <bernhard@intevation.de>
parents:
604
diff
changeset
|
36 }}} |