Packages

o

scoverage

Invoker

object Invoker

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Invoker
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def findMeasurementFiles(dataDir: File): Array[File]
  2. def findMeasurementFiles(dataDir: String): Array[File]
  3. def getCallingScalaTest: String
  4. def invoked(files: Seq[File]): Set[Int]
  5. def invoked(id: Int, dataDir: String, reportTestName: Boolean = false): Unit

    We record that the given id has been invoked by appending its id to the coverage data file.

    We record that the given id has been invoked by appending its id to the coverage data file.

    This will happen concurrently on as many threads as the application is using, so we use one file per thread, named for the thread id.

    This method is not thread-safe if the threads are in different JVMs, because the thread IDs may collide. You may not use scoverage on multiple processes in parallel without risking corruption of the measurement file.

    id

    the id of the statement that was invoked

    dataDir

    the directory where the measurement data is held

  6. def measurementFile(dataDir: String): File
  7. def measurementFile(dataDir: File): File