Windows下Testopia安装手册
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:BugzillaTestopia
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.
************************************************************************
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
学习,这个也是版本管理工具吗?
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:bugzillatr_query.cgi line 34.
BEGIN failed--compilation aborted at C:bugzillatr_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:bugzillatr_query.cgi line 34. [Wed Apr 21 16:14:09 2010] tr_query.cgi: BEGIN failed--compilation aborted at C:bugzillatr_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)
我没看懂,希望得到帮助,能否讲的细一些。