Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/jenkins/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Selenium Jenkins中的TestNG结果趋势不显示失败的测试或构建_Selenium_Jenkins_Testing_Automation_Testng - Fatal编程技术网

Selenium Jenkins中的TestNG结果趋势不显示失败的测试或构建

Selenium Jenkins中的TestNG结果趋势不显示失败的测试或构建,selenium,jenkins,testing,automation,testng,Selenium,Jenkins,Testing,Automation,Testng,正如你所看到的,我的构建失败了,图中没有显示。我在互联网上搜索过,但显然我是唯一一个有这个问题的人。 这些是我在pom.xml中的依赖项 <dependency> <groupId>com.aventstack</groupId> <artifactId>extentreports</artifactId> <version>3.1.5</version> </dependenc

正如你所看到的,我的构建失败了,图中没有显示。我在互联网上搜索过,但显然我是唯一一个有这个问题的人。

这些是我在pom.xml中的依赖项

 <dependency>
    <groupId>com.aventstack</groupId>
    <artifactId>extentreports</artifactId>
    <version>3.1.5</version>
</dependency>

  <dependency>
    <groupId>com.relevantcodes</groupId>
    <artifactId>extentreports</artifactId>
    <version>2.41.2</version>
</dependency>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>

    <dependency>
        <groupId>org.seleniumhq.selenium</groupId>
        <artifactId>selenium-java</artifactId>
        <version>3.141.59</version>
    </dependency>

    <dependency>
      <groupId>org.testng</groupId>
      <artifactId>testng</artifactId>
      <version>6.8</version>
      <scope>test</scope>
    </dependency>

com.aventstack
扩展端口
3.1.5
相关代码
扩展端口
2.41.2
朱尼特
朱尼特
3.8.1
测试
org.seleniumhq.selenium
硒爪哇
3.141.59
org.testng
testng
6.8
测试

失败的生成不一定意味着有任何失败的测试,请检查生成控制台输出

失败的生成不一定意味着有任何失败的测试,请检查生成控制台输出

我的测试是Assert.assertTrue(false)故意使测试失败,它不会在表中显示整个生成。即使还有其他测试,我的测试仍然是Assert.assertTrue(false),故意使测试失败,并且它不会在表中显示整个构建。尽管还有其他测试