简体   繁体   English

Fitnesse:是否可以在Wiki服务器上运行Fitnesse页面?

[英]Fitnesse: Is it possible to RUN Fitnesse pages on wiki server?

Fitnesse:是否可以在Wiki服务器上运行Fitnesse页面?

Just embed it: 只需嵌入:

<iframe height="90%" width="90%" frameBorder="1" src="http://your.fitnesse.server/">this browser does not support IFRAMEs</iframe>

Then change your .../FitNesseRoot/files/templates/sidebar.vm to: 然后将您的... / FitNesseRoot / files / templates / sidebar.vm更改为:

  #if( $actions.suitePage )
  <a href="http://your.fitnesse.server/$localPath?suite" accesskey="u" target="_blank">Suite</a>
  <a href="http://your.fitnesse.server/$localPath?suite&amp;remote_debug" accesskey="d" target="_blank">Debug</a>
  #end
  #if( $actions.testPage )
  <a href="http://your.fitnesse.server/$localPath?test" accesskey="t" target="_blank">Test</a>
  <a href="http://your.fitnesse.server/$localPath?test&amp;remote_debug" accesskey="d" target="_blank">Debug</a>
  #end 

Adding: 新增:

You will then be able to see the test pages on your wiki, being able to run the tests in a new browser window. 然后,您将能够在Wiki上查看测试页面,并能够在新的浏览器窗口中运行测试。

If you omit the second part (target attribute), your tests will appear as being run on your wiki server. 如果省略第二部分(目标属性),则测试将在Wiki服务器上显示为正在运行。

Fitnesse includes its own Wiki server. Fitnesse包括其自己的Wiki服务器。
Does that have a limitation you are trying to overcome? 那有您要克服的限制吗? Do you have a particular alternate Wiki server product in mind? 您是否有特定的备用Wiki服务器产品?

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

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