Skip to content

Test resources + dependencies to be imported for getting all necessary dependencies for JUnit, Spock, Geb, Selenium + web drivers, web driver manager by bonigarcia plus basic configuration like GebConfig

Notifications You must be signed in to change notification settings

kriegaex/MavenTestResources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test dependencies + resources

Maven artifact to be imported for getting all necessary dependencies for

  • JUnit,
  • Spock,
  • Geb,
  • Selenium + web drivers,
  • web driver manager by bonigarcia

plus basic configuration like GebConfig.

Please add this artifact as a dependency with scope=test to your project.

In order to also get the right dependency versions please also import de.scrum-master:test-bom with type=pom, scope=import from the dependencyManagement section of your project.

See also this test dependency BoM and this sample project.

Example:

<dependencyManagement>
  <dependencies>
    <!-- BoM with test dependency versions -->
    <dependency>
      <groupId>de.scrum-master</groupId>
      <artifactId>test-bom</artifactId>
      <version>1.4.2</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
    <!-- Test resources + base configuration + base classes for Spock, Geb, Selenium -->
    <dependency>
      <groupId>de.scrum-master</groupId>
      <artifactId>test-resources</artifactId>
      <version>1.4.2</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

<dependencies>
  <!-- Test resources + base configuration + base classes for Spock, Geb, Selenium -->
  <dependency>
    <groupId>de.scrum-master</groupId>
    <artifactId>test-resources</artifactId>
    <scope>test</scope>
  </dependency>
</dependencies>

About

Test resources + dependencies to be imported for getting all necessary dependencies for JUnit, Spock, Geb, Selenium + web drivers, web driver manager by bonigarcia plus basic configuration like GebConfig

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages