parallel-testing

Running features cucumber in parallel in different browser using selenium testNG

人走茶凉 提交于 2019-12-11 18:17:32
问题 How can i run cucumber features using testNG and selenium or cucumber-JVM i'm new in this but after my researsh i think that cucumber jvm doesn't work in paralell for me i added also the surefire plugin now i try to test with TESTNG my testNg.xml : <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> <suite name="run test in parallel Suite" parallel="tests" verbose="1" configfailurepolicy="continue" thread-count="2"> <listeners> <listener classname

SpecFlow Parallel and non Parallel tests

时光怂恿深爱的人放手 提交于 2019-12-11 15:28:07
问题 I'm using SpecFlow to automate my web tests and using parallel execution to speed them up. The issue i have is that one test which checks that invalid passwords are rejected will lock the user account if run 3 times without a successful login. I've set them up to perform a successful login afterwards however running in parallel means against multiple targets they are ran at the same time and still lock the account. Is there a way I can set just this test to not run in parallel so it doesn't

Selenium Grid DriverSafe tests distribution

a 夏天 提交于 2019-12-11 09:39:53
问题 I have setup the grid as mentioned in this post. Also, I have the test classes setup as in this post. Since I wanted each driverInstance to use its own someController and someData , I changed the BaseTest as follows: public abstract class BaseTest { String testFolder; String testName; protected String envName; protected Configuration config; protected String host; protected RemoteWebDriver driver; protected String proxy; protected SomeData someData; protected SomeController someController;

Running Parallel Tests using Gauge Framework with Browserstack

邮差的信 提交于 2019-12-11 08:25:55
问题 I'm using Gauge framework and Browserstack for my test scenarios. I'm researching how can i parallel execute my test scenarios(.spec) using browserstack? I read many documentation but I couldnt see anything about Gauge framework to run parallel test. I tried to use Junit or NG but i couldnt adapt them.Is it impossible? Any ideas? 回答1: Luckily, Gauge has support for running specs in parallel by setting a flag and specifying the max number of threads allowed: gauge --parallel -n=4 specs

Maven Surefire: Unable to fork parallel test execution

怎甘沉沦 提交于 2019-12-07 01:05:58
问题 using Maven surefire, I'm unable to fork parallel test execution. That is, each of my test cases hs to run in a serapate JVM, hence the forking. In addition, I want my test cases to run in parallel. the first part is working without problem: I'm able to run each test case in its own JVM. the second part, however is still a challene for me. I haven't managed to get the paralle execution of test cases working. Here is how my plugin declaration look like: <plugin> <groupId>org.apache.maven

How to run the same job multiple times in parallel with Jenkins?

爷,独闯天下 提交于 2019-12-05 16:46:27
问题 I'm testing Jenkins to see if it will fit our build and testing framework. I found that Jenkins and its available plugins fit most of our needs. Except that I can't seem to find help on how to do one particular type of task. We are creating application for embedded devices. We have 100s of tests that need to be run on these devices. If we run all the tests on one device after a build then it will take several hours to get the results. However, if we run the tests on 100 of the devices in

Maven Surefire: Unable to fork parallel test execution

会有一股神秘感。 提交于 2019-12-05 03:42:58
using Maven surefire, I'm unable to fork parallel test execution. That is, each of my test cases hs to run in a serapate JVM, hence the forking. In addition, I want my test cases to run in parallel. the first part is working without problem: I'm able to run each test case in its own JVM. the second part, however is still a challene for me. I haven't managed to get the paralle execution of test cases working. Here is how my plugin declaration look like: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.5</version> <configuration>

Selenium Grid running tests in parallel

风格不统一 提交于 2019-12-04 19:50:14
Currently, I have a Selenium grid setup, with 1 local hub and 2 local nodes. The hub is capable of distributing the tests to run in parallel and distribute it over to the nodes. I am running the tests in parallel. The following is the base test public abstract class BaseTest { String testFolder; String testName; protected String envName; protected Configuration config; protected String host; protected RemoteWebDriver driver; protected String proxy; protected SomeData someData; protected SomeController someController; public BaseTest() { } public BaseTest( String testFolder, String testName) {

How to run the same job multiple times in parallel with Jenkins?

限于喜欢 提交于 2019-12-04 03:19:23
I'm testing Jenkins to see if it will fit our build and testing framework. I found that Jenkins and its available plugins fit most of our needs. Except that I can't seem to find help on how to do one particular type of task. We are creating application for embedded devices. We have 100s of tests that need to be run on these devices. If we run all the tests on one device after a build then it will take several hours to get the results. However, if we run the tests on 100 of the devices in parallel then we can get results in much shorter time. All the tests will have very similar starting point.

Running test in parallel with surefire and displaying them properly with the TestNG Jenkins plugin

早过忘川 提交于 2019-12-02 05:04:41
I'm running tests with parallel execution using surefire, and that all seems to work fine. However, there's only one testng-results.xml generated in the target/surefire-reports/ folder which ... only contains the results of the test that ran last. I found an issue exactly for that reported for an older version of surefire, and it says "won't fix" here: http://t161727.apache-maven-issues.apacheforum.info/surefire-1018-surefire-reports-overwrite-each-other-whenusing-forking-t161727.html However, I doubt that I'm the first person on the planet who is trying to run unit tests in parallel with