zoukankan      html  css  js  c++  java
  • 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)

  • 相关阅读:
    eclipse git如何切换分支,拉取代码,合并代码,解决冲突等
    eclipse git提交项目以及down项目大致步骤
    彻底卸载Oracle
    收藏的技术点
    SpringBoot+MyBatis整合报错Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required
    nginx基本配置
    window下命令启动/停止nginx
    springboot 新建的时候 pom 第一行出现红叉,项目可以正常运行
    oracle replace的用法
    启动tomcat出现闪退的原因
  • 原文地址:https://www.cnblogs.com/pinpin/p/10008355.html
Copyright © 2011-2022 走看看