Registry / testing / scalatest-3

scalatest-3

JSON →
library3.2.20javamavenunverified

ScalaTest is a testing framework for Scala and Java, supporting multiple styles like FlatSpec, FunSuite, and WordSpec.

<dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest_3</artifactId> <version>3.2.20</version> </dependency>
INSTALL
IMPORT
SIG · SCALATEST-3
S
scalatest-3
testingjavav3.2.20
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AnyFlatSpec
✓ org.scalatest.flatspec.AnyFlatSpec

Shows a simple FlatSpec test in Scala.

import org.scalatest.flatspec.AnyFlatSpec class ExampleSpec extends AnyFlatSpec { "A Stack" should "pop values in last-in-first-out order" in { val stack = new scala.collection.mutable.Stack[Int] stack.push(1) stack.push(2) assert(stack.pop() === 2) assert(stack.pop() === 1) } }
Debug
Known issues
breakingScalaTest 3.x is for Scala 3; use scalatest_2.13 for Scala 2.13.
fix
Ensure you use the correct artifact for your Scala version (e.g., scalatest_2.13 for Scala 2.13).
affects: *
Upgrade
Version history
3.2.20latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
scalatest-3 — mvn dependency:get scalatest-3 · libregistry