Quick Start: Customize a template
In this quick start, you will customize a template, and provide the template to the ggcgen command when generating test scenarios.
To complete this quick start, you should have compiled the price application in the $GGCDIR/src/quick-start and generated the log file price_sample.guilog. If you need to perform these tasks, see Quick Start: Generate and execute a test scenario.
We recommend you copy the templates you need to customize from the $GGCDIR/template directory into your own working directory, and make any changes needed in your working directory only. It is preferred you use the check templates from the $GGCDIR/template/bdl/alternate-checks or $GGCDIR/template/java/alternate-checks directory, as these templates use check functions, which are easier to use.
A template is used to generate a block of
code. The GGC provides default templates, which you can replace with your own custom templates. For
this quick start, you use your Genero BDL knowledge to customize the template
check_form_name.4gl
, the code that is inserted when you generate a test that checks
the form name. You will update this template to check that the form name is "price".