blob: 97dec7610a5974ee6f6b4c2350c98cd83d5d04ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package mill.api
import sbt.testing._
/**
* Test reporter class that can be
* injected into the test task and
* report information upon the start
* and the finish of testing events
*/
trait TestReporter {
def logStart(event: Event): Unit
def logFinish(event: Event): Unit
}
/**
* Dummy Test Reporter that doesn't report
* anything for any testing event.
*/
object DummyReporter extends TestReporter {
override def logStart(event: Event): Unit = {
}
override def logFinish(event: Event): Unit = {
}
}
|