Task #6214
closed
Overriding configuration options from templates
Added by Alexander Kamkin over 9 years ago.
Updated about 8 years ago.
Assignee:
Andrei Tatarnikov
Category:
Template Processor
Published in build:
2.3.47
Description
There are three levels for setting up the options (in order of increasing priority):
- Configuration file.
- Command line.
- Test template.
The first two levels have been implemented. The last one needs to be done.
- Priority changed from Normal to High
It is time to do this. Settings need unification since code is getting more and more messy.
- Status changed from New to Resolved
Done. Now it is possible to redefine options in test templates using the set_option_value
function. For example:
# Sets the indentation token used in test programs
set_option_value 'indent-token', "\t"
# Sets the token used in separator lines printed into test programs
set_option_value 'separator-token', "="
- Published in build set to 2.3.47
- Status changed from Resolved to Closed
Also available in: Atom
PDF