简体   繁体   English

不使用 Camel-Case 创建 Fitnesse 页面

[英]Create Fitnesse pages without using Camel-Case

I am currently migrating a huge amount of scripts to Fitnesse.我目前正在将大量脚本迁移到 Fitnesse。 I implemented a converter that takes the existing scripts XML and converts them to Fitnesse Files (eg content.txt).我实现了一个转换器,它采用现有脚本 XML 并将它们转换为 Fitnesse 文件(例如 content.txt)。 This is working correctly.这工作正常。 However, I am still facing a problem with the names since they are not camel-case formatted (an example of a script name is the following: BANK_Tran_BankStmtLoad_Add).但是,我仍然面临名称问题,因为它们不是驼峰格式(脚本名称示例如下:BANK_Tran_BankStmtLoad_Add)。 Most of the scripts have such names.大多数脚本都有这样的名称。 It is possible to programatically remove the "_" but this won't work as well since we still have several consecutive capital letters.可以通过编程方式删除“_”,但这不会起作用,因为我们仍然有几个连续的大写字母。 Is there a way to create new pages in Fitnesse without having to write the names in Camel-case.有没有一种方法可以在 Fitnesse 中创建新页面而不必在 Camel-case 中编写名称。

Thanks in advance.提前致谢。

Looks like this is baked into FitNesse.看起来这已融入 FitNesse。 I tried manually creating the FitNesse folders but no luck.我尝试手动创建 FitNesse 文件夹,但没有成功。 You can run tests outside FitNesse with Folder Runner: http://fitsharp.github.com/Fit/FolderRunner.html or http://fitnesse.org/FitNesse.UserGuide.FitLibraryUserGuide.FolderRunner您可以使用 Folder Runner 在 FitNesse 外部运行测试: http://fitsharp.github.com/Fit/FolderRunner.htmlhttp://fitnesse.org/FitNesse.UserGuide.FitLibraryUserGuide.FolderRunner

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM