如何将健身页面添加到版本控制? [英] How do I add fitnesse pages to version-control?

查看:26
本文介绍了如何将健身页面添加到版本控制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

推荐的做法是什么?我应该将 Fitnesse 文件夹下的我的子文件夹添加到版本控制吗?

What is the recommended practice? Should I add the my sub-folder under the fitnesse folder to version control?

上下文:致力于单个开发人员 Rails 宠物项目.我的 rails 项目处于版本控制 (Subversion) 之下,但是我的 Fitnesse wiki 页面位于 Fitnesse 程序文件夹下.

Fitnesse 似乎有自己的版本控制...(我看到每个 wiki 页面都带有编号的 zip)它可靠吗?它在哪里存储修订?

Fitnesse seems to have its own version-control... (I see numbered zips along with each of my wiki pages) Is it reliable? Where does it store the revisions?

推荐答案

使用 -d 开关(在谷歌搜索中非常低调)

Fitnesse20081201>run -p 8080 -d c:/projects/MyProjectNeedsAcceptanceTests

这将在指定文件夹中创建一个名为 FitnesseRoot 的子文件夹(如果它不存在),其中包含运行所需的所有内容.

This will create a subfolder in the specified folder called FitnesseRoot if it doesn't already exist, with all the stuff it needs to run.

Fitnesse 应该起来了.切换到浏览器.继续创建您的页面.

Fitnesse should be up. Switch to your browser. Go ahead and create your pages.

  • 您创建的每个 Fitnesse 页面都有一个子文件夹.
  • 每个文件夹都有一个 content.txt(这是 wiki 内容)和一个 properties.xml(这是该页面的 Fitnesse 属性).
  • 所有子页面都是父页面文件夹下的子文件夹.
  • You will have a subfolder for every Fitnesse page you create.
  • Each folder would have a content.txt (which is the wiki content) and a properties.xml (which are the Fitnesse Properties for that page).
  • All subpages would be subfolders under the folder for the parent page.

目录和文件...您已完成第一次签入版本控制的设置.还要设置版本控制以忽略某些类型的文件

Directories and Files...You're all setup for your first check-in to version control. Also set up your version control to ignore certain types of files

  • FitnesseRoot/文件
  • FitnesseRoot/错误日志
  • *.zip

(.zip 文件是 Fitnesse 跟踪 wiki 页面编辑的方式.短期本地版本控制.像 svn、git、cvs 等的 VCS 应该为我们处理这个问题.所以我们不需要签入 zip 文件)

希望这是有道理的..如果不是,我建议您花 15 分钟时间听听 UncleBob 本人的以下截屏视频
来源:Robert Martin - Fitnesse 的版本控制和开发环境

Hope that made sense.. If not I suggest you take 15 mins off to listen to the following screencast from UncleBob himself
Source: Robert Martin - Version Control and Development Environment for Fitnesse

这篇关于如何将健身页面添加到版本控制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆