【发布时间】:2013-09-24 18:04:18
【问题描述】:
使用 concordion,可以创建使用 concordion:run 命令运行测试的“索引”fixture。例如。
<a concordion:run="concordion" href="myLengthytest.html">The lengthy test</a>
我的测试都设置为使用 SpringJunitRunner 作为per the tip here。
我尝试从故障安全插件中排除固定装置,但包括调用它们的运行器,即
<includes>
<include>**/*Test.java</include>
<include>**/*FixtureIndex.java</include>
</includes>
<excludes>
<exclude>**/*Fixture.java</exclude>
</excludes>
在这种情况下,“Fixture”文件是灯具,“FixtureIndex”是带有 concordion:run 语句的索引文件。这似乎是一种合理的方法,但似乎仍然运行了两次测试......奇怪的是。
我发现了这个问题elsewhere,但没有给出有用的答案,所以遇到了完全相同的问题,只是想在这里问:-)
【问题讨论】:
标签: java concordion