annotate extras/testplan/README.txt @ 604:3d45f5bca0aa

(Testplan) Updated README for new intests version with language support.
author Emanuel Schuetze <emanuel@intevation.de>
date Wed, 18 Jun 2014 09:17:25 +0200
parents a54d37c4483a
children de1e3a47ed21
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:
604
3d45f5bca0aa (Testplan) Updated README for new intests version with language support.
Emanuel Schuetze <emanuel@intevation.de>
parents: 599
diff changeset
33 $ xsltproc --stringparam lang de xforms/xml2tex.xsl testplan.xml > tex/testplan.tex
599
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/