Skip to content

Need options to specify "-S" option in maven/gradle/bazel #62

@tribbloid

Description

@tribbloid

According to the official document of scalatest + scalacheck integration:

https://www.scalatest.org/user_guide/property_based_testing

The only bay to specify randomisation seed is through sbt:

testOptions += Tests.Argument(TestFrameworks.ScalaTest, "-S", "123456789")

In the meantime, many of the largest Scala project that uses scalatest + scalacheck (e.g. twitter's The Algorithm & Apache Spark) have chosen maven / bazel instead of sbt. This effectively blocked them from using this feature.

We need to expose this option to all build systems equally, not just sbt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions