ScalaTest Maven Plugin

Integrates ScalaTest into Maven

Лицензия

Лицензия

Категории

Категории

Scala Языки программирования Maven Компиляция и сборка
Группа

Группа

com.github.cerveada
Идентификатор

Идентификатор

scalatest-maven-plugin
Последняя версия

Последняя версия

2.0.1
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

ScalaTest Maven Plugin
Integrates ScalaTest into Maven
Ссылка на сайт

Ссылка на сайт

https://github.com/scalatest/scalatest-maven-plugin
Система контроля версий

Система контроля версий

https://github.com/cerveada/scalatest-maven-plugin

Скачать scalatest-maven-plugin

Как подключить последнюю версию

<plugin>
    <groupId>com.github.cerveada</groupId>
    <artifactId>scalatest-maven-plugin</artifactId>
    <version>2.0.1</version>
</plugin>

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.3.9
org.apache.maven : maven-core jar 3.3.9
org.apache.maven.reporting : maven-reporting-api jar 3.0

test (4)

Идентификатор библиотеки Тип Версия
org.scalatest : scalatest_2.11 jar 3.0.1
org.scala-lang : scala-library jar 2.11.12
junit : junit jar 4.12
com.github.stefanbirkner : system-rules jar 1.19.0

Модули Проекта

Данный проект не имеет модулей.

ScalaTest Maven Plugin

Fork of ScalaTest Maven Plugin for early release of Java 11 compatible version until the official one is ready.

Building ScalaTest Maven Plugin

Maven 3 is used to manage the build process. To build this plugin, please make sure you have the following installed:-

You then clone and checkout master trunk:-

$ git clone git://github.com/scalatest/scalatest-maven-plugin.git

$ cd scalatest-maven-plugin

Finally use the following commands to build for ScalaTest Maven Plugin:

$ mvn clean package

The built output will be available in target/.

Using ScalaTest Maven Plugin

To use the ScalaTest Maven plugin, you need to disable SureFire and enable ScalaTest. Here's an example of how to do this in your pom.xml:

<!-- disable surefire -- >
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-surefire-plugin</artifactId>
  <version>2.7</version>
  <configuration>
    <skipTests>true</skipTests>
  </configuration>
</plugin>
<!-- enable scalatest -- >
<plugin>
  <groupId>org.scalatest</groupId>
  <artifactId>scalatest-maven-plugin</artifactId>
  <version>2.0.0</version>
  <configuration>
    <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
    <junitxml>.</junitxml>
    <filereports>WDF TestSuite.txt</filereports>
  </configuration>
  <executions>
    <execution>
      <id>test</id>
      <goals>
        <goal>test</goal>
      </goals>
    </execution>
  </executions>
</plugin>
com.github.cerveada

ScalaTest

Версии библиотеки

Версия
2.0.1