No tests were found?
Hello,
I write and run a simple test scenario via intellij / karate. The response comes and I can see that the test is passed, but Intellij says it cannot find the test. I showed the relevant situation in the screenshot. Also, my pom.xml is as follows;
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.example</groupId>
<artifactId>karate_api</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<!-- https://mvnrepository.com/artifact/com.intuit.karate/karate-apache -->
<dependency>
<groupId>com.intuit.karate</groupId>
<artifactId>karate-apache</artifactId>
<version>0.9.5</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/com.intuit.karate/karate-junit4 -->
<dependency>
<groupId>com.intuit.karate</groupId>
<artifactId>karate-junit4</artifactId>
<version>1.4.0.RC3</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Please sign in to leave a comment.
Hello, could you please attach a sample project so we can reproduce on our side? Thank you
Hello Sergei Riabinin,
Thank you for answer, I upload to my project;
Upload id: 2024_01_29_GgjbXdLc6NPSrzAH7EnsJ6 (file: karate_api-20240129T083551Z-001.zip)
Trying to run on 2023.3.3, all feature files fail to run. Do you use any 3rd-party plugins to run it, or some specific test run configurations?
I shared the plugins I use and the test results I am currently running in the link below;
Upload id: 2024_02_01_9Sf4c9CmPRc3QvU99BEhz1 (files: ss2024-02-01 114312.png, ss2024-02-01 114415.png)