免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7441 | 回复: 2
打印 上一主题 下一主题

Windows下Testopia安装手册 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-24 08:48 |只看该作者 |倒序浏览
Windows下Testopia安装手册

作者:laofo 出自:配置管理之路 http://bbs.scmroad.com

Install Testopia 1.11 with 2.22.1
*************************** *********************
1 Typographical convention
Bugzilla 2.22.1
Testopia 1.11
Bugzilla directory C:\Bugzilla
Testopia directory C:\Bugzilla\Testopia

2 System requirements Table of system requirements

Tools
Testopia            Version 1.1
Architecture model   Browse/Server
Language           English
Operating System    Windows 2003 Server
Bugzilla             Bugzilla 2.22
MySQL             MySQL 5.0 Perl
Perl 5.8.8

3 Installation instructions
The Testopia server software is usually installed on Linux or Solaris, as well as Bugzilla. If your operating system is not *nix but a windows, remove it and install *nix; your boss will not notice the difference. Because it is a tough journey to let them, Bugzilla and Testopia, work on windows.

3.2 Precondition Bugzilla 2.20
Currently the only version tested with Testopia 1.0; however this does not mean it won't work with other versions

Text::Diff Latest version should work

As far as databases are concerned, Testopia just adds a number of tables to the existing Bugzilla database. Currently Testopia only supports MySQL as a database. By this we mean it is the only one tested as of version 1.0 although there is no real reason it shouldn't work with PostGres (the other database engine officially supported by Bugzilla). We just don't have any table creation scripts for it yet.

Testopia has been tested on MySQL 4.1 and 5.0. Bugzilla requires 4.1 as of 2.20.

3.2 Official steps

1. Copy the testopia tar ball into your bugzilla's root directory.
2. Untar tar xzvf testopia-<release>.tar.gz
3. Run tr_install.pl perl tr_install.pl

The install script sets up the database tables, patches your code, and sets up three new groups: managetestplans, edittestcases, and runtests.

If the patch fails, you may want to patch the files by hand. There are only 4 small changes to the Bugzilla 2.20 code. You should now be able to see the Testopia links in the Bugzilla footer. Make sure you update the new Testopia user groups to include whoever is going to need access to test cases.

-------------------------
The above is the official Testopia installation document. It is highly possible that it works fine in *nix, but it does not work for certain. So leave it alone and do it with me.

3.3 Windows journey

Bugzilla working fine is mandatory and required Perl model is installed correctly.

1. Copy the Testopia tar ball into your Bugzilla root directory.
2. Untar tar xzvf testopia-<release>.tar.gz

Manual patch

Patch file should be patched with tools or manually. Although there is a tool, called patch for windows, correct patched system is not achieved ever. Therefore, manual patch method is the only way to get it only because the operation system is windows.

1. Find the corresponding patch file with your Bugzilla version in <Testopia directory>
2. Open it as a fine friendly editor
3. Change the relevant file according to the patch file line by line (now you can see the advantage of *nix and the silliness of windows)

NOTES: There is a tool called KDiff3, which might be helpful.

4. Install the Testopia with no patch like: tr_install.pl -nopatch
5. you will see( here should be a picture showing Testopia install successfully)

C:\Bugzillatest>tr_install.pl -nopatch

Figure 1: Installation command

4. NOTES
************************************************************************
The text above is my installation notes. I have upgrade Testopia once from version 1.0 to version 1.1.2.

If anybody has good instructions, please let me know.

************************************************************************

论坛徽章:
0
2 [报告]
发表于 2010-04-25 09:22 |只看该作者
laofo:
   我正在安装testopia,环境如下:
   windows
   IIS
   testopia-2.3.1-BUGZILLA-3.4.5
   安装testopia时, 总是提示错误
   There was an error loading the data:
Software error:
Bareword "JSON::false" not allowed while "strict subs" in use at extensions/testopia/lib/Testopia/Classification.pm line 80.
Bareword "JSON::false" not allowed while "strict subs" in use at extensions/testopia/lib/Testopia/Classification.pm line 85.
Bareword "JSON::true" not allowed while "strict subs" in use at extensions/testopia/lib/Testopia/Classification.pm line 83.
Compilation failed in require at C:\bugzilla\tr_query.cgi line 34.
BEGIN failed--compilation aborted at C:\bugzilla\tr_query.cgi line 34.
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

[Wed Apr 21 16:14:09 2010] tr_query.cgi: Bareword "JSON::false" not allowed while "strict subs" in use at extensions/testopia/lib/Testopia/Classification.pm line 80. [Wed Apr 21 16:14:09 2010] tr_query.cgi: Bareword "JSON::false" not allowed while "strict subs" in use at extensions/testopia/lib/Testopia/Classification.pm line 85. [Wed Apr 21 16:14:09 2010] tr_query.cgi: Bareword "JSON::true" not allowed while "strict subs" in use at extensions/testopia/lib/Testopia/Classification.pm line 83. [Wed Apr 21 16:14:09 2010] tr_query.cgi: Compilation failed in require at C:\bugzilla\tr_query.cgi line 34. [Wed Apr 21 16:14:09 2010] tr_query.cgi: BEGIN failed--compilation aborted at C:\bugzilla\tr_query.cgi line 34.

看了文章“Windows下Testopia安装手册”
第三步
3. Change the relevant file according to the patch file line by line (now you can see the advantage of *nix and the silliness of windows)
我没看懂,希望得到帮助,能否讲的细一些。

论坛徽章:
59
2015七夕节徽章
日期:2015-08-24 11:17:25ChinaUnix专家徽章
日期:2015-07-20 09:19:30每周论坛发贴之星
日期:2015-07-20 09:19:42ChinaUnix元老
日期:2015-07-20 11:04:38荣誉版主
日期:2015-07-20 11:05:19巳蛇
日期:2015-07-20 11:05:26CU十二周年纪念徽章
日期:2015-07-20 11:05:27IT运维版块每日发帖之星
日期:2015-07-20 11:05:34操作系统版块每日发帖之星
日期:2015-07-20 11:05:36程序设计版块每日发帖之星
日期:2015-07-20 11:05:40数据库技术版块每日发帖之星
日期:2015-07-20 11:05:432015年辞旧岁徽章
日期:2015-07-20 11:05:44
3 [报告]
发表于 2010-07-27 08:56 |只看该作者
学习,这个也是版本管理工具吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP