maven-scalatest-plugin icon indicating copy to clipboard operation
maven-scalatest-plugin copied to clipboard

Maven support for ScalaTest

A "Maven":http://maven.apache.org/ Plugin for "Scalatest":http://scalatest.org/

NOTE: this plugin is currently being "intregrated into ScalaTest":http://groups.google.com/group/scalatest-users/browse_frm/thread/3a03e3e92eb4d221 You can track the progress at "Sean Griffins repository":http://scalatest.googlecode.com/svn/branches/trenchguinea/maven-scalatest-plugin/ Use Seans fork and not this one!

h2. Overview

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

h2. 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	

h2. Usage

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

	
	  ...
	  
	    
	    
	      
	        
	          com.jteigen
	          maven-scalatest-plugin
	          1.1-SNAPSHOT
	        
	        ...
	      
	    
	    
	    
	      
	        com.jteigen
	        maven-scalatest-plugin
	        1.1-SNAPSHOT
	      
	      ...
	    
	  
	  ...
		

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

h2. Configuration

To generate the configuration documentation, please run

mvn site:site

open target/site/plugin-info.html