码迷,mamicode.com
首页 > 其他好文 > 详细

Testlink设置

时间:2018-11-23 16:49:26      阅读:369      评论:0      收藏:0      [点我收藏+]

标签:php   details   tomat   host   $_server   bpa   bho   pat   首页   

1. Testlink配置修改

1.1. config.inc.php

1.1.1. 日志路径配置

/**
 *  @var string Path to store logs -
 *for security reasons (see http://itsecuritysolutions.org/2012-08-13-TestLink-1.9.3-multiple-vulnerabilities/)
 *put it out of reach via web or configure access denied.
 */
//$tlCfg->log_path = ‘/var/testlink/logs/‘; /* unix example */
=>
$tlCfg->log_path = D:\Program Files\EasyPHP-12.1\www\testlink\logs\\;

 

1.1.2. 上传文件路径配置

/**
 * TL_REPOSITORY_TYPE_FS: the where the filesystem repository should be located
 * We recommend to change the directory for security reason.
 * (see http://itsecuritysolutions.org/2012-08-13-TestLink-1.9.3-multiple-vulnerabilities/)
 * Put it out of reach via web or configure access denied.
 *
 **/
//$g_repositoryPath = ‘/var/testlink/upload_area/‘;  /* unix example */
=》
$g_repositoryPath = D:\Program Files\EasyPHP-12.1\www\testlink\upload_area\\

1.1.3. 配置检查警告模式修改

There are security warnings for your consideration. See details on file: D:\Program Files\EasyPHP-12.1\www\testlink\logsconfig_check.txt. To disable any reference to these checkings, set $tlCfg->config_check_warning_mode = SILENT;
/**
 * @var string How to warning user when security weak points exists.
 *
 * ‘SCREEN‘: messages will displayed on login screen, and tl desktop (default)
 * ‘FILE‘: a file with a list is created but users are not notified via GUI
 *         user will receive a message on screen.
 * ‘SILENT‘: same that FILE, but user will not receive message on screen.
 */
//$tlCfg->config_check_warning_mode = ‘FILE‘;
=》
$tlCfg->config_check_warning_mode = SILENT;

 

1.1.4. 语言设置

/** @var string Default localization for users */
// The value must be available in $g_locales (see cfg/const.inc.php).
// Note: An attempt will be done to establish the default locale
// automatically using $_SERVER[‘HTTP_ACCEPT_LANGUAGE‘]
//$tlCfg->default_language = ‘en_GB‘;
=》
$tlCfg->default_language = zh_CN

1.2. Testlink数据库配置

testlink\config_db.inc.php
<?php
// Automatically Generated by TestLink Installer
define(DB_TYPE, mysql);
define(DB_USER, testlink);
define(DB_PASS, testlink);
define(DB_HOST, localhost);
define(DB_NAME, testlink);
define(DB_TABLE_PREFIX, tt);
?>

 

1.3. Testlink和mantis集成 (这个我没有验证,因为bug系统公司用的不是mantis)

1、首页-Issue Tracker Management

配置内容如下:

Type:mantis (Interface: db)
Configuration:
<!-- Template mantisdbInterface -->
<issuetracker>
<dbhost>localhost</dbhost>
<dbname>bugtracker</dbname>
<dbtype>mysql</dbtype>
<dbuser>root</dbuser>
<dbpassword></dbpassword>
<uriview>http://192.168.134.120/mantis/view.php?id=</uriview>
<uricreate>http://192.168.134.120/mantis/</uricreate>
</issuetracker> 

2、测试项目管理配置Issue Tracker,选择刚才配置::mantis (Interface: db)

 

Testlink设置

标签:php   details   tomat   host   $_server   bpa   bho   pat   首页   

原文地址:https://www.cnblogs.com/pinpin/p/10008355.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!