ScalaUtils was written by Bill Venners starting in 2012. The ScalaUtils library grew out of the ScalaTest 2.0 effort, it is small and can be used in production conveniently without depending to ScalaTest.
ScalaUtils's source code is hosted together with ScalaTest, but deployed as different artifacts (ScalaTest Jar includes ScalaUtils also, but you can use ScalaUtils alone). You can browse the source code:
You can git clone it to your local disk with this command
git clone https://github.com/scalatest/scalatest.git
To contribute, please fork the repo on your GitHub account, make your changes and submit a pull request.
The followings are needed for building ScalaTest/ScalaUtils:
for JDK 6 or 7, use the following options in your SBT launch file:
SBT_OPTS="-server -Xms512M -Xmx2000M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:NewRatio=8 -XX:MaxPermSize=512M"
for JDK 8, use the following SBT options instead:
SBT_OPTS="-server -Xms512M -Xmx2000M -Xss1M -XX:+UseConcMarkSweepGC -XX:NewRatio=8"
This command will build and run the regular tests:
$ sbt scalautils/test
You can package the ScalaUtils JAR file using this command:
$ sbt scalautils/package
The resulting JAR file will be produced in
You can also publish it to your local Ivy repository using this command:
$ sbt scalautils/publishLocal
Or publish it to local maven repository using this command:
$ sbt scalautils/publishM2
Issues can be submitted here:
ScalaUtils is brought to you by Bill Venners, with
contributions from several other folks. It is sponsored by
ScalaTest is free, open-source software released under the Apache 2.0 license.
Copyright © 2009-2013 Artima, Inc. All Rights Reserved.