-
For some tests that are still based on scalatest, I have to get a `Runtime[TestEnvironment]`. I tried various ways of getting a hold of it and in the end ended up with this piece of code:
```scala
…
-
The implementation of `ZStream.fromInputStream` will not interrupt reading from the underlying stream if the fiber gets interrupted.
As long as the underlying call to `InputStream.read` blocks, the f…
-
This came up this morning on Discord. The snippet below will acquire the resource four times, instead of three times. The issue is that with suites being effectual, a suite of tests that each require …
-
Hello,
I have a bunch of plain http server endpoints which works fine but one of them I needed to change to give back `serverSentEventsBody` so this is the only endpoint that gives back `Stream[Thr…
-
I want to test that `ServiceB` does not call some method of `ServiceA` in specific circumstances. In order to do that I made a mock implementation for `ServiceA` and wrote following test:
```scala
…
-
I have a repo with two workflows.
This workflow invoked the test reporter: https://github.com/zio/izumi-reflect/actions/runs/3857696050
Though the artifacts were attached to irrelevant workflow:…
-
I run into a problem where I got two conflicting zio-test version in my project. And root cause was that
"dev.zio" %% "zio-aws-sqs" requiring the zio-mock as a non test dependency:
`libraryDependen…
-
This is an effect (pun intended) of debugging https://github.com/softwaremill/sttp/issues/1003. in the original test case the problematic effect that caused the schedule to hang was sending an http re…
adamw updated
3 years ago
-
The following exceptions(s) occurred in the ZIO for IntelliJ plugin:
```
com.intellij.openapi.util.InvalidDataException: Test configuration kind 'All in package' is not supported.
at zio.intelli…
-
The current code is compiling but cannot be executed im getting an error at runtime
```scala
def putObject[R