Ensuring the safety and ethical behavior of large language models (LLMs) in responding to user queries is of paramount importance.…
Development
Factory AI has released its latest innovation, Code Droid, a groundbreaking AI tool designed to automate and accelerate software development…
In the era of vast data, information retrieval is crucial for search engines, recommender systems, and any application that needs…
Long-context language models (LCLMs) have emerged as a promising technology with the potential to revolutionize artificial intelligence. These models aim…
Advances in vision-language models (VLMs) have shown impressive common sense, reasoning, and generalization abilities. This means that developing a fully…
Materials science focuses on studying and developing materials with specific properties and applications. Researchers in this field aim to understand…
A significant challenge in the field of Information Retrieval (IR) using Large Language Models (LLMs) is the heavy reliance on…
Natural language processing has greatly improved language model finetuning. This process involves refining AI models to perform specific tasks more…
I’m running Appium Server 2, and some plugins show up as active, but some don’t.
I would like to enable the element-wait plugin, how do I do that?
I want to run my 5 Cucumber feature files with “Mvn test” Command parallely. Now, the “mvn test” or ‘mvn build” runs fine and maven builds the project, but feature file dont run. Can this be due to version mismatch? I am using JUnit 4, Cucumber 7.4.0 and Maven 6.9.3. Tried with lastest 7.18.0 Cucumber but nothing works. Also, I am using maven surefire plugin to run 5 feature files parallely, but nothing runs. NO feature file is running. Do in need to make multiple runners? I Just want parallel execution at feature levels, not scenario level. Please provide some assistance. I am stuck.
[INFO]
[INFO] — maven-surefire-plugin:3.3.0:test (default-test) @ SmokeTestAutomation —
[INFO] ————————————————————————
[INFO] BUILD SUCCESS
[INFO] ————————————————————————
[INFO] Total time: 22.154 s
[INFO] Finished at: 2024-06-23T17:36:09+05:30
[INFO] ————————————————————————
POM.xml:
<dependencies>
<!– https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core –>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.23.1</version>
</dependency>
<!– https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api –>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.23.1</version>
</dependency>
<dependency>
<groupId>net.sourceforge.jtds</groupId>
<artifactId>jtds</artifactId>
<version>1.3.1</version>
</dependency>
<!– https://mvnrepository.com/artifact/org.apache.poi/poi-examples –>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-examples</artifactId>
<version>5.1.0</version>
</dependency>
<!– https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml –>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>5.1.0</version>
</dependency>
<!– https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java –>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>4.13.0</version>
</dependency>
<!– https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-api –>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-api</artifactId>
<version>4.13.0</version>
</dependency>
<!– https://mvnrepository.com/artifact/io.cucumber/cucumber-testng –>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-java</artifactId>
<version>7.4.0</version>
</dependency>
<!– https://mvnrepository.com/artifact/io.cucumber/cucumber-core –>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-core</artifactId>
<version>7.4.0</version>
</dependency>
<!– https://mvnrepository.com/artifact/io.cucumber/cucumber-jvm –>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-jvm</artifactId>
<version>7.4.0</version>
<type>pom</type>
</dependency>
<!– https://mvnrepository.com/artifact/io.cucumber/cucumber-junit –>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-junit</artifactId>
<version>7.4.0</version>
</dependency>
<!– https://mvnrepository.com/artifact/io.cucumber/cucumber-testng –>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-testng</artifactId>
<version>7.4.0</version>
</dependency>
<!– https://mvnrepository.com/artifact/org.testng/testng –>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.4.0</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>openxml4j</artifactId>
<version>1.0-beta</version>
</dependency>
<!– https://mvnrepository.com/artifact/commons-collections/commons-collections –>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.1</version>
</dependency>
<dependency>
<groupId>com.opencsv</groupId>
<artifactId>opencsv</artifactId>
<version>4.1</version>
</dependency>
<!– <dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.4.0</version>
</dependency> –>
<!– https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api –>
<!– https://mvnrepository.com/artifact/junit/junit –>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
</dependency>
<!– https://mvnrepository.com/artifact/com.jcabi/jcabi-log –>
<dependency>
<groupId>com.aventstack</groupId>
<artifactId>extentreports</artifactId>
<version>5.1.1</version>
</dependency>
<dependency>
<groupId>tech.grasshopper</groupId>
<artifactId>extentreports-cucumber7-adapter</artifactId>
<version>1.14.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<includes>
<include>**/TestRunner.java</include>
</includes>
<parallel>methods</parallel>
<useUnlimitedThreads>true</useUnlimitedThreads>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<includes>
<include>**/TestRunner.java</include>
</includes>
<parallel>methods</parallel>
<useUnlimitedThreads>true</useUnlimitedThreads>
</configuration>
</plugin>
</plugins>
</build>
</project>
TestRUnner.Java
import org.junit.runner.RunWith;
import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;
@RunWith(Cucumber.class)
@CucumberOptions(glue = { “stepDefinitions” }, features = { “src/test/resources/features” },
monochrome = false, tags = “@UserLevel and @AdminLevel”)
public class TestRunner {
}
Events (previously known as Karlender) is a mobile-friendly calendar app. It uses libadwaita and can access Calendars using CalDAV. The…
Mastodon is a free and open source microblogging platform similar to Twitter, but with user privacy and decentralization in mind.…
The Finder is the default file manager and graphical user interface shell for OS X. We recommend the best free…
Commander Gaius is hard to defeat in Elden Ring’s DLC, so allow me to help you out with a detailed…
If you have to take a screenshot, but only for a specific area, you have at least three ways to…
Genshin Impact is one of the biggest PC games in the world, and its powering research into tokamak-based nuclear fusion,…
ASUS ROG Ally X offers twice the SSD capacity and double the battery capacity. I went hands-on with this gaming…
Microsoft killed its phone platform a few years back, but that doesn’t mean we can’t dream. A designer on Twitter…
During Summer Game Fest Play Days, I finally got a chance to go hands-on with REPLACED, an epic 80s-inspired 2.5D…
The long-awaited Elden Ring: Shadow of the Erdtree DLC is finally here, but it’s launched to a “Mixed” Steam reception…