object Test
- Alphabetic
- By Inheritance
- Test
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(name: String, result: => Property): Test
Wrap the actual constructor so we can catch any exceptions thrown
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def renderCoverage(coverage: Coverage[CoverCount], tests: SuccessCount, examples: Examples): List[String]
- def renderExample(examples: Examples, name: LabelName): List[String]
- def renderFailureLog(qualifiedTestName: String, log: Log): List[String]
The lines a single log entry contributes to a failure report.
The lines a single log entry contributes to a failure report.
A
SourceLocationbecomes two: the location asrenderLogrenders it, then a line shaped like a stack frame. That second line is not a real frame - it is synthesised from the same captured location - but IntelliJ IDEA'sExceptionFilterrecognises the shape and resolves the file through the project index rather than the filesystem, which is what makes the failure navigable there. The first line is what iTerm2 linkifies, and the build-root-relative path is not linkified by the sbt shell at all, so both are needed to cover both tools.qualifiedTestNameis the suite's class name joined to the test's name. It is the suite's, so an assertion written in a shared helper file pairs this suite's class name with that helper's file name. IntelliJ resolves the file by name, so the link still lands.Any other log entry becomes the one line
renderLoggives it. - def renderLog(log: Log): String
- def renderReport(className: String, t: Test, report: Report, ansiCodesSupported: Boolean): String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)