forked from viglesiasce/testlink
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom_config.inc.php.example
More file actions
executable file
·186 lines (172 loc) · 7.87 KB
/
custom_config.inc.php.example
File metadata and controls
executable file
·186 lines (172 loc) · 7.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<?php
/**
* TestLink Open Source Project - http://testlink.sourceforge.net/
* This script is distributed under the GNU General Public License 2 or later.
*
* Filename $RCSfile: custom_config.inc.php.example,v $
*
* @version $Revision: 1.7 $
* @modified $Date: 2010/08/19 19:08:34 $ by $Author: franciscom $
*
* SCOPE:
* Constants and configuration parameters used throughout TestLink DEFINED BY USERS.
*
* Use this file to overwrite configuration parameters (variables and defines)
* present in:
* config.inc.php
* cfg/const.inc.php
*-----------------------------------------------------------------------------
*/
$g_interface_bugs='BUGZILLA';
// *******************************************************************************
// *******************************************************************************
// Hint: After doing configuration changes, clean you Browser's cookies and cache
//
// use contents of this file as an example of custom configuration
//
// *******************************************************************************
//
// Uncomment this if you want dBug() display info
// define('DBUG_ON',1);
//
// To use a different version of ADODB that provided with TL, use a similar bunch of lines
// on custom_config.inc.php
// if( !defined('TL_ADODB_RELATIVE_PATH') )
// {
// define('TL_ADODB_RELATIVE_PATH','/../../third_party/[WHERE YOU HAVE INSTALLED adodb YOU WANT TO TEST]/adodb.inc.php' );
// }
//
// /** in this way you can switch ext js version in easy way,
// To use a different version of Sencha (Old EXT-JS) that provided with TL */
// if( !defined('TL_EXTJS_RELATIVE_PATH') )
// {
// define('TL_EXTJS_RELATIVE_PATH','third_party/ext-js' );
// }
// *******************************************************************************
// If you want you have a different login template
// key: original TL template name WITHOUT extension
// value: whatever name you want, only constrain you have to copy your template
// ON SAME FOLDER where original template is.
//
// $g_tpl = array('login' => 'customLogin.tpl');
//
// *******************************************************************************
//
// If you create your OWN reports and add something like this:
//
// ------------------------------------------------------------
// $tlCfg->reports_list['tcases_with_rca'] = array(
// 'title' => 'link_report_tcases_with_cf',
// 'url' => 'lib/results/testCasesWithCF.php',
// 'enabled' => 'all',
// 'format' => 'format_html'
// );
// -----------------------------------------------------------
// Your reports WILL BE ON TOP OF standard TL Reports on left frame
//
//
// $tlCfg->gui->text_editor['all'] = array( 'type' => 'fckeditor',
// 'toolbar' => 'tl_default',
// 'configFile' => 'cfg/tl_fckeditor_config.js');
//
// Copy this to custom_config.inc.php if you want use 'tinymce' as default.
//$tlCfg->gui->text_editor['all'] = array( 'type' => 'tinymce');
//
// Copy this to custom_config.inc.php if you want use 'nome' as default.
// $tlCfg->gui->text_editor['all'] = array( 'type' => 'none');
//
// Suggested for BETTER Performance with lot of testcases
//$tlCfg->gui->text_editor['execution'] = array( 'type' => 'none');
//
// Enable and configure this if you want to have different
// webeditor type in different TL areas
// You can not define new areas without making changes to php code
//
// $tlCfg->gui->text_editor['execution'] = array( 'type' => 'none'); // BETTER Performance with lot of testcases
//
// This configuration is useful only if default type is set to 'fckeditor'
// $tlCfg->gui->text_editor['design'] = array('toolbar' => 'tl_mini');
//
// $tlCfg->gui->text_editor['testplan'] = array( 'type' => 'none');
// $tlCfg->gui->text_editor['build'] = array( 'type' => 'fckeditor','toolbar' => 'tl_mini');
// $tlCfg->gui->text_editor['testproject'] = array( 'type' => 'tinymce');
// $tlCfg->gui->text_editor['role'] = array( 'type' => 'tinymce');
// $tlCfg->gui->text_editor['requirement'] = array( 'type' => 'none');
// $tlCfg->gui->text_editor['requirement_spec'] = array( 'type' => 'none');
//
//
// SMTP server Configuration ("localhost" is enough in the most cases)
//$g_smtp_host = 'localhost'; # SMTP server MUST BE configured
# Configure using custom_config.inc.php
//$g_tl_admin_email = 'tl_admin@127.0.0.1'; # for problem/error notification
//$g_from_email = 'testlink@127.0.0.1'; # email sender
//$g_return_path_email = 'francisco@127.0.0.1';
# Urgent = 1, Not Urgent = 5, Disable = 0
// $g_mail_priority = 5;
# Taken from mantis for phpmailer config
#define ("SMTP_SEND",2);
#$g_phpMailer_method = SMTP_SEND;
// Configure only if SMTP server requires authentication
//$g_smtp_username = ''; # user
//$g_smtp_password = ''; # password
//
// TRUE -> the whole execution history for the choosen build will be showed
// FALSE -> just last execution for the choosen build will be showed [STANDARD BEHAVIOUR]
//$tlCfg->exec_cfg->history_on = TRUE;
//$tlCfg->exec_cfg->show_testsuite_contents = ENABLED;
// TRUE -> test case VERY LAST (i.e. in any build) execution status will be displayed
// FALSE -> only last result on current build. [STANDARD BEHAVIOUR]
//$tlCfg->exec_cfg->show_last_exec_any_build = TRUE;
// TRUE -> History for all builds will be shown
// FALSE -> Only history of the current build will be shown [STANDARD BEHAVIOUR]
//$tlCfg->exec_cfg->show_history_all_builds = TRUE;
// $tlCfg->gui->custom_fields->types = array(100 => 'radio head');
// $tlCfg->gui->custom_fields->possible_values_cfg = array('radio head' => 1);
//$g_log_level='DEBUG';
// $tlCfg->results['status_code'] = array (
// "failed" => 'f',
// "blocked" => 'b',
// "passed" => 'p',
// "not_run" => 'n',
// "not_available" => 'x',
// "unknown" => 'u',
// "all" => 'a'
// );
//
// $tlCfg->results['status_label'] = array(
// "passed" => "test_status_passed",
// "failed" => "test_status_failed",
// "blocked" => "test_status_blocked",
// "not_run" => "test_status_not_run",
// // "all" => "test_status_all_status",
// "not_available" => "test_status_not_available",
// // "unknown" => "test_status_unknown"
// );
//
// $tlCfg->results['status_label_for_exec_ui'] = array(
// "passed" => "test_status_passed",
// "failed" => "test_status_failed",
// "blocked" => "test_status_blocked",
// "not_run" => "test_status_not_run",
// "not_available" => "test_status_not_available"
// );
//
// $tlCfg->results['default_status'] = "not_run";
//
// -------------------------------------------------------------------------------------------------
// Item templates
//
// $tlCfg->testplan_template->notes->type = 'string';
// $tlCfg->testplan_template->notes->value = 'this is a test plan';
//
// $tlCfg->build_template->notes->type = 'string';
// $tlCfg->build_template->notes->value = 'what a build';
// $tlCfg->requirement_template->scope->type = 'string';
// $tlCfg->requirement_template->scope->value = 'what a Requirement';
// $tlCfg->requirement_template->scope->type = 'file';
// $tlCfg->requirement_template->scope->value = 'c:\usr\local\xampp-1.7.2\xampp\htdocs\head-20090909\item_templates\requirement.txt';
// $tlCfg->req_spec_template->scope->type = 'string';
// $tlCfg->req_spec_template->scope->value = 'what a req_spec';
// $tlCfg->req_spec_template->scope->type = 'file';
// $tlCfg->req_spec_template->scope->value = 'c:\usr\local\xampp-1.7.2\xampp\htdocs\head-20090909\item_templates\req_spec.txt';
?>