5.1 KiB
5.1 KiB
PenText testing procedure
Main PenText document chain (quickscope - quote - report - invoice)
- Start out with a sample XML Quickscope document (in source).
- Check XML Quickscope document validity. EXPECTED OUTCOME: document is valid
- From Quickscope, generate an XML Quote.
- Check XML Quote document validity (please!) EXPECTED OUTCOME: document is valid
- From XML Quote, generate an FO/PDF Quote.
- Test with the following options: a. test with different quote types (retest, code audit, pentest, ...) EXPECTED OUTCOME: every quote type has its own set of snippets (you can check the snippets in snippets/snippetselection.xml) and so differs in content b. test with/without optional code audit (regardless of quote type) EXPECTED OUTCOME: quote is generated with/without optional code audit snippet (except in case of a specific code audit quote, which obviously does not need the optional extra code audit snippet) c. test with optional Third Party EXPECTED OUTCOME: quote is generated with extra waiver for third party; third party is listed in 'Conditions' section d. test with optional extra third parties (3 in total) EXPECTED OUTCOME: quotes are generated with extra waivers for third parties; third parties are listed in 'Conditions' section e. test with alternative waiver EXPECTED OUTCOME: quote is generated with alternative waiver f. test with different language (english/dutch) EXPECTED OUTCOME: quote is now in different language
- For each option, check PDF Quote: a. placeholders resolve b. target list resolves c. layout looks ok d. waiver signature box is present and correct
- From XML Quote, generate an FO/PDF Invoice (do not forget to enter the invoice number parameter)
- Test with the following options:
a. with/without date parameter
EXPECTED OUTCOME: no date parameter: today's date; with date parameter: invoice uses date from parameter
b. generate from different language quote (set
<offerte xml:lang="en">tonl) EXPECTED OUTCOME: invoice is generated in other language - For each option, check PDF Invoice: a. contents b. layout
- From XML Quote, generate an XML Invoice (that is XML, not FO/PDF!)
- Check XML Invoice validity EXPECTED OUTCOME: document is valid
- Edit XML Invoice:
a. Add some bogus description and fee to
<additionalcosts>b. Set @vat to 'no' for any service/cost - Check XML Invoice validity EXPECTED OUTCOME: document is still valid
- From XML Invoice, generate FO/PDF Invoice
- Check PDF Invoice: a. contents EXPECTED OUTCOME: extra bogus info is listed in invoice b. layout c. vat amount EXPECTED OUTCOME: amount is correct d. total amount EXPECTED OUTCOME: amount is correct
- From XML Quote, generate XML Report
- Check XML Report validity (note: you will have to set a bogus @findingCode as the default '???' results in an error) EXPECTED OUTCOME: document is valid
- From XML Report, generate FO/PDF Report
- Check PDF Report: a. contents EXPECTED OUTCOME: everything present on/in the cover page, meta page, ToC, Testing team b. layout
- From XML Report, generate XML Quote EXPECTED OUTCOME: this should automatically be a retest quote
- Check XML Retest Quote validity; contents and layout have already been tested earlier so those should be okay EXPECTED OUTCOME: document is valid
Incident Response Management
- Start out with a sample XML Incident Response Quickscope document (in source;
ir_quickscope.xml). - Check XML IR Quickscope document validity. EXPECTED OUTCOME: document is valid
- From Quickscope, generate an XML Incident Response Management 'Quote'.
- Test with and without the
<organizational_readiness_assessment>element inir_quickscope.xml. EXPECTED OUTCOME: depending on the presence of the<organizational_readiness_assessment>, theorganizational_readiness_assessment.xmlsnippet is or is not included in the resulting doc - In both cases, check XML Incident Response Management 'Quote' document validity (please!) EXPECTED OUTCOME: document is valid
- From XML Incident Response Management 'Quote', generate an FO/PDF Quote.
- Check PDF Quote: a. contents (do all placeholders resolve) b. layout
Rate Cards
- Use the
ratecard.xmlsnippet andgenerate_ratecard.xslto generate a FO/PDF Rate Card. - Check PDF Rate Card: a. contents (do all placeholders resolve, do the rates have the correct denomination) b. layout
Contracts
- Start out with a sample XML Contract Info document.
- From Contract Info, generate FO/PDF Contract.
- Test with the following options: a. different contract types (single_engagement|fixed_term|non_zzp) b. different language (english|dutch)
- For each option, check PDF Contract: a. contents (do all placeholders resolve) b. layout
Generic Document
- Start out with a sample XML Generic document.
- Check XML Generic Document validity.
- From XML Generic Document, generate FO/PDF Document.
- Test with the following options: a. different contract types (single_engagement|fixed_term|non_zzp) b. different language (english|dutch)
- For each option, check PDF Contract: a. contents (do all placeholders resolve) b. layout