简体   繁体   English

FitNesse测试页可以单独运行但不能在套件中运行

[英]FitNesse Test Page Runs Alone But Not in Suite

I have a FitNesse test report (GroupByTest) that runs fine if you run the test by itself. 我有一个FitNesse测试报告(GroupByTest),如果您自己运行测试,则运行良好。 It has about 500 rows of data in the table. 表中有大约500行数据。

The test passes when run, however when I run the report in the Suite with other tests, the other tests work fine until it gets to the GroupByTest it just hangs. 该测试在运行时通过,但是当我在Suite中与其他测试一起运行该报表时,其他测试工作正常,直到到达挂起的GroupByTest。 The test does not show up in the list of Suite tests but the page is still at work trying to run the report, but it never finishes. 该测试未显示在Suite测试列表中,但是该页面仍在尝试运行报告,但仍无法完成。 There are reports after this test that pass if run alone as well. 如果单独运行,则该测试后还有报告通过。

What I just can't seem to figure out is why it runs on its own but not with the Suite. 我似乎无法弄清楚的是它为什么可以单独运行而不是随套件运行。 I checked the box to skip the report in the Suite and it passes that report and runs all of the others as usual without problem, so I know it's just this GroupByTest. 我选中了该框以跳过套件中的报告,它会通过该报告并像往常一样运行所有其他报告,因此我知道这就是这个GroupByTest。 I've tried adjusting memory and the report itself with no luck in fixing the issue and the batch file that runs the FitNesse server doesn't show any errors... 我试过调整内存和报告本身,但运气不佳,无法解决问题,运行FitNesse服务器的批处理文件没有显示任何错误...

Any help would be greatly appreciated as the results of the suite go out to QA and the Product Manager daily. 套件的结果每天都会提供给质量检查人员和产品经理,我们将不胜感激。

Thanks! 谢谢!

RE: Nevermind, RE:没关系,

I removed more rows from the test and it now runs with the Suite. 我从测试中删除了更多行,它现在随Suite一起运行。 I'm guessing a memory issue? 我正在猜测内存问题? Maybe it wasn't releasing memory from a prior report in the Suite in time to run my report with 500 rows. 也许不是及时发布Suite中先前报告中的内存以运行500行的报告。

Anyway, I hope this helps someone else if they run into this issue. 无论如何,我希望这对其他人遇到的问题有所帮助。

SOLVED. 解决了。

Copied from question to indicate an answer was found: 从问题复制表示已找到答案:

"I removed more rows from the test and it now runs with the Suite. I'm guessing a memory issue? Maybe it wasn't releasing memory from a prior report in the Suite in time to run my report with 500 rows." “我从测试中删除了更多行,现在它可以与Suite一起运行。我猜是内存问题?也许不是及时从Suite中的先前报告释放内存来运行500行的报告。”

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

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