1 - triagedhelp wantedt:testingt:typed
Metriche repository
- Star
- (13.277 stelle)
- Metriche merge PR
- (Merge medio 8g 19h) (10 PR mergiate in 30 g)
Descrizione
The `should ===("something") isn't checked at compile time if TypeCheckedTripleEquals isn't mixed in.
For classic tests we do that in AkkaSpec, but for Typed tests we haven't.
It will also need the following that we have in AkkaSpec:
// for ScalaTest === compare of Class objects
implicit def classEqualityConstraint[A, B]: CanEqual[Class[A], Class[B]] =
new CanEqual[Class[A], Class[B]] {
def areEqual(a: Class[A], b: Class[B]) = a == b
}
implicit def setEqualityConstraint[A, T <: Set[_ <: A]]: CanEqual[Set[A], T] =
new CanEqual[Set[A], T] {
def areEqual(a: Set[A], b: T) = a == b
}
We don't want to have too much internal test utilities so that the Akka tests can be used as inspiration for users also. Should we add this to ScalaTestWithActorTestKit or is there a reason why someone don't want this?