把:
$g_interface_bugs
修改为:
$g_interface_bugs
第二步:在mantis上设置匿名登录权限
匿名登录的设置需要打开。
Mantis的匿名用户具备对所有的项目都可以浏览的权限。
Change the followingin your mantis config_inc.php (replace dummy with your created user)
# --- anonymous login-----------
# Allow anonymouslogin
$g_allow_anonymous_login= ON;
$g_anonymous_account ='dummy';
第三步,根据自己Mantis的配置情况,配置cfg下的Mantis.cfg.php:
define('BUG_TRACK_DB_HOST',
define('BUG_TRACK_DB_NAME',
define('BUG_TRACK_DB_TYPE',
define('BUG_TRACK_DB_USER',
define('BUG_TRACK_DB_PASS',
define('BUG_TRACK_HREF',
define('BUG_TRACK_ENTER_BUG_HREF',"http://localhost/mantis/");
第四步:测试配置:
首先在TestLink里面执行一条测试用例,执行之后,如果发现问题,则点击“Create NewBug”,则打开mantis页面,将发现的问题报告至mantis上,报告成功之后,回到TestLink,将Issue ID填写到“Bug/Problem Report”的文本框里,然后点击“SaveResult”,这样,Testlink就能把Mantis上的issue数据显示在执行测试用例页面下方了。