annotate extras/testplan/README.txt @ 1119:5349e2354c48

(issue54) Merge branch runafterinstall There is now an NSIS Plugin that executes the Software after installation using COM in the shell of the current user. With the way over the shell there is no inheritance / token management required. As it is impossible to drop all privileges of a token granted by UAC and still be able to reelevate the Token again with another RunAs call later this round trip over the Shell was necessary.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 16 Sep 2014 19:48:22 +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 }}}

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