我想通过xunit插件在jenkins中发布通过google cpp测试工具生成的xml格式的测试报告。在配置插件时,我们必须指定pattern.Can任何人,请帮助我在这个模式中写什么,因为如果我配置任何一个,它就会给出这个错误
**
[xUnit] [INFO] - [JUnit] - No test report file(s) were found with the pattern 'C:\Users\20040922\.jenkins\workspace\firstreport.xml' relative to 'C:\Users\20040922\.jenk
我正在使用以下命令生成XML格式的J抄输出JTL文件:
sh jmeter.sh -Jjmeter.save.saveservice.output_format=xml -n -t /User/sudhir.tataraju/Desktop/Automation/test.jmx -l /root/.jenkins/workspace/JmeterTest/Output_test.xml
相同的Output_test.xml文件用于Jenkins作业插件“发布JUnit测试结果报告”
但是,报表不会在job作业的控制台输出日志中生成抛出错误。
Recording test results
N
我已经创建了由junit和spock测试组成的maven项目。两个测试的代码。
public class AppTest
{
/**
* Rigorous Test :-)
*/
@Test
public void shouldAnswerWithTrue()
{
assertTrue( true );
}
}
class SpockTest extends Specification {
def "one plus one should equal two"() {
e
我的测试套件和Jenkins有一些问题。
我的TestSuite看起来就像这样:
@RunWith(Suite.class)
@SuiteClasses( { CompanyRepositoryTest.class,
StudentRepositoryTest.class })
public class ServiceTestSuite {}
在localhost上运行这个测试套件非常棒,总共有7个测试成功。然而,当测试套件由Jenkins运行时,它会说找不到任何测试:
junit.framework.AssertionFailedError: No tests found in com.ex