Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1082

Parallelization does not work as expected when using jUnit Parameterized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • Maven Surefire Plugin
    • None

    Description

      I am using jUnit's Parameterized annotation on some Selenium tests to specify the browsers they should run with. I am also using SureFire's new parallel parameter (set to "classes") to try and run them in parallel. However, this is nerfing the parallelization.

      Let's say I have my parameter list set to Firefox and Chrome, and I have 10 test classes. When I execute the tests with Maven, I'm seeing one Firefox window and one Chrome window appear on my remote server at a time. I expected to see 20 windows, 10 Firefox and 10 Chrome: one for each test class with each parameter.

      Attachments

        1. sample.zip
          16 kB
          Bayley Gaillard

        Activity

          People

            tibordigana Tibor Digana
            yamikuronue Bayley Gaillard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: