Skip to content

A Giter8 template for Scala project (setup for rapid TDD / BDD development)

License

Notifications You must be signed in to change notification settings

spikerlabs/scala-seed.g8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Scala Seed Project

Scala seed project using sbt dependency manager (with cucumber plugin), cucumber for bdd cycle and scalatest+scalacheck for tdd cycle. This is a Giter8 template, which integrates beatifully with sbt.

Requirements

You have to have latest scala and sbt available on your system. On a mac you can get it via:

brew install scala
brew install sbt

How to set up

It will install in sub directory (using the project name you choose.

Scala 2:

sbt new spikerlabs/scala-seed.g8

Scala 3 (experimental):

sbt new spikerlabs/scala-seed.g8 --branch 3

The template will ask number of questions about desired versions of things, normally you should be fine to use defaults.

How to use generated project

All the code and tests are hello world, but suggested structure is scalable towards complex real life project.

Upon completion, you can run all example tests via

sbt test cucumber

Examples:

Releases

No releases published

Packages

No packages published