Skip to content

teigen/maven-scalatest-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

A Maven Plugin for Scalatest

NOTE: this plugin is currently being intregrated into ScalaTest
You can track the progress at Sean Griffins repository
Use Seans fork and not this one!

Overview

maven-scalatest-plugin is a Maven plugin that integrates ScalaTest functionality into Maven.

Building and Installing

maven-scalatest-plugin is not available from the standard Maven repositories. To install it,
you should checkout the code from github and install it: the “install” target will add the
plugin to your local Maven repository.

	git clone http://github.com/teigen/maven-scalatest-plugin.git
	cd maven-scalatest-plugin && mvn clean install	

Usage

Add the following to your project’s pom.xml file.

	<project>
	  ...
	  <build>
	    <!-- To define the plugin version in your parent POM -->
	    <pluginManagement>
	      <plugins>
	        <plugin>
	          <groupId>com.jteigen</groupId>
	          <artifactId>maven-scalatest-plugin</artifactId>
	          <version>1.1-SNAPSHOT</version>
	        </plugin>
	        ...
	      </plugins>
	    </pluginManagement>
	    <!-- To use the plugin goals in your POM or parent POM -->
	    <plugins>
	      <plugin>
	        <groupId>com.jteigen</groupId>
	        <artifactId>maven-scalatest-plugin</artifactId>
	        <version>1.1-SNAPSHOT</version>
	      </plugin>
	      ...
	    </plugins>
	  </build>
	  ...
	</project>	

To run your scalatests (in your project)


mvn scalatest:test

To start the scalatest gui (in your project)


mvn scalatest:gui

If you want to run a particular suite of tests (in your project):


mvn scalatest:test -Dsuite=mypack.MySuit

Configuration

To generate the configuration documentation, please run


mvn site:site

open target/site/plugin-info.html

About

Maven support for ScalaTest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published