Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Latest commit

 

History

History
28 lines (25 loc) · 680 Bytes

scala_test.md

File metadata and controls

28 lines (25 loc) · 680 Bytes

scala_test

scala_test(
    name,
    srcs,
    suites,
    deps,
    data,
    main_class,
    resources,
    resource_strip_prefix,
    scalacopts,
    jvm_flags,
    scalac_jvm_flags,
    javac_jvm_flags,
    unused_dependency_checker_mode
)

scala_test generates a Scala executable which runs unit test suites written using the scalatest library. It may depend on scala_library, scala_macro_library and java_library rules.

By default, scala_test runs all tests in a given target. For backwards compatibility, it accepts a suites attribute which is ignored due to the ease with which that field is not correctly populated and tests are not run.