ScalaTest Maven Plugin

Integrates ScalaTest into Maven

Лицензия

Лицензия

Категории

Категории

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

Группа

org.scalatest
Идентификатор

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

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

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

2.0.2
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

ScalaTest Maven Plugin
Integrates ScalaTest into Maven
Система контроля версий

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

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

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

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

<plugin>
    <groupId>org.scalatest</groupId>
    <artifactId>scalatest-maven-plugin</artifactId>
    <version>2.0.2</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

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.2</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>
org.scalatest

ScalaTest

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

Версия
2.0.2
2.0.0
1.0
1.0-RC2
1.0-RC1
1.0-M4-SNAP1
1.0-M2