bernhard@614: = Test plan for TrustBridge
emanuel@599: 
bernhard@614: TrustBridge uses the Free Software test plan framework 
bernhard@614:   [[https://wald.intevation.org/projects/intests/]]
bernhard@614: to fill out test plans with a simple web server.
bernhard@614: InTEsts can also produce PDF output.
emanuel@599: 
bernhard@614: To start, fetch the current version of inTests:
emanuel@599: 
bernhard@614: {{{
bernhard@614:   hg clone https://hg.intevation.org/intests
bernhard@614: }}}
emanuel@599: 
emanuel@599: 
bernhard@614: == Completing a test plan
emanuel@599: 
bernhard@614: # Create a working copy of original testplan.xml into the intests directory:
bernhard@614:  {{{
bernhard@614:   cd intests
bernhard@614:   cp /path/to/testplan.xml testplan.xml
bernhard@614:  }}}
bernhard@614: # Start web server [optional with port number]:
bernhard@614:  {{{
bernhard@614:   python main.py testplan.xml [PORT]
bernhard@614:  }}}
bernhard@614: # Enter test information
emanuel@599:    (date, OS, tester, version, comment)
bernhard@614: # Run all tests of each test suite and
emanuel@599:    record the test results (yes = passed, no = failed, n/a).
bernhard@614: # Quit web server
bernhard@614: # Create test plan protocol as PDF:
bernhard@614: {{{
bernhard@614:   xsltproc --stringparam lang de xforms/xml2tex.xsl testplan.xml > tex/testplan.tex
bernhard@614:   cd tex
bernhard@614:   make testplan.pdf
bernhard@614: }}}