testlink里面没有jira.cfg.php 怎么整合

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了testlink里面没有jira.cfg.php 怎么整合相关的知识,希望对你有一定的参考价值。

参考技术A 关于这个,jira默认自带一个HSQL数据库,但是据说容量较小,我用的是mysql数据库,与TestLink整合,还真没尝试过。。。jiradb是数据库的名字。
你要不去试试后盾人看看视频学习,哪里的视频都很齐全
参考技术B jira默认自带一个HSQL数据库,但是据说容量较小,我用的是MySQL数据库,与TestLink整合,还真没尝试过。。。jiradb是数据库的名字。本回答被提问者采纳

Testlink设置

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 FilesEasyPHP-12.1www	estlinklogs\;

 

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 FilesEasyPHP-12.1www	estlinkupload_area\

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

There are security warnings for your consideration. See details on file: D:Program FilesEasyPHP-12.1www	estlinklogsconfig_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数据库配置

testlinkconfig_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里面没有jira.cfg.php 怎么整合的主要内容,如果未能解决你的问题,请参考以下文章

Jenkins+Ant+TestNG+Testlink自动化构建集成

安装testlink时,出现”testlink/gui/templates_ctestlink/logstestlink/upload_area不可写‘解决办法

Testlink在Linux下的安装方法

TestLink学习二:Windows搭建TestLink环境

TestLink学习八:TestLink1.9.13与Mantis1.2.19集成

CentOS下安装TestLink