The Scalactic library provides useful type-safe extensions to Scala both for production and test code. It is used extensively in scalatest. It has no dependencies except the Scala standard lib.
The Scalactic library is focused on constructs related to quality that are useful in both production code and tests. Although ScalaTest is tightly integrated with Scalactic, you can use Scalactic with any Scala project and any test framework. The Scalactic library has no dependencies other than Scala itself.
It provides a type-checked ===
, an opinionated Either
with Good
and Bad
results, and other syntactic niceties.
Quote via the Scalactic home page