简体   繁体   English

有没有办法使用FitNesse / SLIM引擎来启动用FitPro设计的测试套件(套件+ .fit网页)?

[英]Is there a way to use the FitNesse / SLIM engine to launch test suites designed with FitPro (,suite + .fit web pages)?

My company is using FitPro + FitLibrary to test our applications. 我的公司正在使用FitPro + FitLibrary来测试我们的应用程序。 Our main test suites are .suite files and they invoke FIT tests pages, which bear the .fit extension (contents is HTML). 我们的主要测试套件是.suite文件,它们调用带有.fit扩展名(内容为HTML)的FIT测试页。

Our application Fixtures are built on top of FitLibraryRunner.jar (a release issued on 01/28/2007), and we have a .bat/.sh script which launches our FIT tests suite using com.luxoft.fitpro.runner.TestCaseRunner, which is part of the fitpro.jar library. 我们的应用程序夹具基于FitLibraryRunner.jar(发布于2007年1月28日)构建,并且我们具有.bat / .sh脚本,该脚本使用com.luxoft.fitpro.runner.TestCaseRunner启动FIT测试套件,这是fitpro.jar库的一部分。 This setup is convenient for us because we provide the same application but customized for many customers, and all you need to run FIT tests is fitpro.jar among your classpath, and you don't depending upon other stuff. 此设置对我们来说很方便,因为我们提供了相同的应用程序,但为许多客户定制了此应用程序,并且您运行FIT测试所需的全部是在类路径中的fitpro.jar,并且您无需依赖其他任何东西。

As FitPro seems to be no longer maintained, our alternative would be to switch to FitNesse. 由于似乎不再维护FitPro,因此我们的替代方法是切换到FitNesse。

Now, it would seem as per my understanding that FitNesse does not offer runners that would allow executing FIT tests suites outside of its wiki. 现在,按照我的理解,FitNesse不提供允许在其Wiki之外执行FIT测试套件的运行程序。 Let me precise that the usage of a Wiki is not really useful for us due to us packaging the same libraries but in differents stages of development, and to many customers. 让我精确地说,由于我们打包了相同的库,但处于不同的开发阶段,因此对许多客户来说,使用Wiki对我们而言并没有真正的用处。

I would like to know if any of you could ever succeeded in launching the FitNesse/SLIM engine outside of the wiki context ? 我想知道你们中是否有人可以在Wiki上下文之外成功启动FitNesse / SLIM引擎? I am looking for a way to invoke a Runner provided with FitNesse, that reads a main suite test file (.suite) and produces an HTML or XML-based report as output, just like the way we do with FitPro. 我正在寻找一种调用FitNesse随附的Runner的方法,该方法读取主套件测试文件(.suite)并生成基于HTML或XML的报告作为输出,就像我们使用FitPro一样。

I am also told that I could not use the .suite and .fit pages we have created with FitPro over the years. 还告诉我,我无法使用多年来通过FitPro创建的.suite和.fit页面。

Thanks in advance for any feedback! 预先感谢您的任何反馈! JC 杰西

If you don't want to use the FitNesse wiki, then FitNesse doesn't add any value for you. 如果您不想使用FitNesse Wiki,那么FitNesse不会为您增加任何价值。 FitNesse renders HTML from its wiki pages and passes them to a test execution engine, like Slim, FitLibrary, fitSharp, etc. FitLibrary and fitSharp can also execute tests sourced from HTML files. FitNesse从其Wiki页面呈现HTML,并将其传递到测试执行引擎,例如Slim,FitLibrary,fitSharp等。FitLibrary和fitSharp还可以执行从HTML文件获取的测试。 I haven't used FitPro but it appears to feed FitLibrary with tests from its own .suite and .fit files. 我没有用过FitPro,但它似乎用其自己的.suite和.fit文件中的测试为FitLibrary提供了数据。 Your best bet may be to use FitLibrary's FolderRunner and organize your suites into folders of HTML files that FolderRunner can process. 最好的选择是使用FitLibrary的FolderRunner并将您的套件组织到FolderRunner可以处理的HTML文件的文件夹中。

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

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