0

I'm trying to make debugging our Fitnesse tests easier. We're using runnerw.exe for debugging, it works fine. The UserGuide implies there can be a Debug action with the Test, Edit, etc links on the side of the fixture page.

However, there's no Debug action on our fixture pages. Can anyone tell me how to add it?

4

1 に答える 1

2

左側のボタンを変更するには、FitNesse のコードを実際に変更する必要があります。そのため、それは行うべき取引が少し大きくなります。

ただし、いくつかのオプションを提供できます。

まず、現在のページを実行する (そしてデバッグ フラグを設定する) ことができるブックマーケットを全員に提供できます。以下はそれを行います:

javascript:cur_loc=location.href;location.href=cur_loc + "?test&remote_debug=true";

2 つ目は、同じものを PageHeader または PageFooter ページに追加して、どこにでも表示できるようにすることです。ただし、テストページにいなくてもオプションが表示されるという問題があります。

!-<a href="?test&remote_debug=true';">Run Page in Debug Mode</a>-!
于 2011-10-25T17:25:16.777 に答える