Run tests in Any effect into F effect, where F is usually Identity
Run tests in Any effect into F effect, where F is usually Identity
If F is incapable of async (e.g. Identity), tests will run via F's equivalent of unsafePerformIO and will block the running thread. Test parallelism in Identity is achieved via thread pools, which is probably OK for tests.
Value parameters
isTestCancellation
Predicate for determining whether a thrown exception signifies a canceled, not failed, test. e.g. For ScalaTest it's _.isInstanceOf[org.scalatest.exceptions.TestCanceledException]
Attributes
Note
a DistageTest[G] will be run using QuasiIORunner[G] assembled from bindings in DistageTest.environment (Most likely the QuasIORunner binding will be found in izumi.distage.testkit.model.TestEnvironment.defaultModule, as DefaultModule instances must provide a QuasiIORunner)