Skip to content

An archetype that can be used to generate a Maven based FitNesse project.

License

Notifications You must be signed in to change notification settings

sitture/fitnesse-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fitnesse-quickstart

An archetype that can be used to generate a Maven based FitNesse project.

Build Status Maven Central license

Usage

To generate the archetype, run:

Batch

mvn archetype:generate -DarchetypeGroupId=com.sitture -DarchetypeArtifactId=fitnesse-quickstart

Interactive

cd x #where x is your "workspace" directory
mvn archetype:generate
#filter by e.g. "fitnesse", or com.sitture, which is {groupId}:{artifactId}
#input artifactId etc.

The archetype will create a directory named after the 'artifactId' you supplied, which will contain the generated project.

Starting FitNesse

# cd into your generated project directory
mvn clean test

By default, fitnesse will start running on port 8082 at http://127.0.0.1:8082. To run it on a different port:

mvn clean test -Dport=9090

Running a FitNesse Suite (JUnit)

You can run the following to run a suite headlessly.

mvn clean test-compile failsafe:integration-test

By default, fitnesse will run FitNesse.SuiteAcceptanceTests suite.

To run a different suite:

mvn clean test-compile failsafe:integration-test -DsuitePath=FitNesse.SuiteAcceptanceTests

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request