annotate extras/testplan/README.txt @ 599:a54d37c4483a

Added first test plan xml file (and README to build it with intests).
author Emanuel Schuetze <emanuel@intevation.de>
date Fri, 13 Jun 2014 12:07:43 +0200
parents
children 3d45f5bca0aa
rev   line source
599
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
1 Test plan for TrustBridge
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
2 =========================
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
3
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
4 TrustBridge uses the free test plan framework "intest" [1] to fill
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
5 out test plans with a simple web server and produce test plan
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
6 protocols as PDF document.
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
7
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
8 Initially, fetch current intests hg-repository:
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
9
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
10 $ hg clone https://hg.intevation.org/intests
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
11
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
12
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
13 Run test plan
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
14 -------------
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
15
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
16 1. Create a working copy of original testplan.xml into
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
17 the intests directory:
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
18 $ cd intests
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
19 $ cp /path/to/testplan.xml testplan.xml
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
20
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
21 2. Start web server [optional with port number]:
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
22 $ python main.py testplan.xml [PORT]
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
23
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
24 3. Enter test information
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
25 (date, OS, tester, version, comment)
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
26
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
27 4. Run all tests of each test suite and
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
28 record the test results (yes = passed, no = failed, n/a).
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
29
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
30 5. Quit web server
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
31
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
32 6. Create test plan protocol as PDF:
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
33 $ xsltproc xforms/xml2tex.xsl testplan.xml > tex/testplan.tex
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
34 $ cd tex
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
35 $ make testplan.pdf
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
36
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
37
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
38 ---
a54d37c4483a Added first test plan xml file (and README to build it with intests).
Emanuel Schuetze <emanuel@intevation.de>
parents:
diff changeset
39 [1] https://wald.intevation.org/projects/intests/

http://wald.intevation.org/projects/trustbridge/