Registry / testing / mock-test-3

mock-test-3

JSON →
library1.0.0-RC2javamavenunverified

ZIO Mock Test provides mocking utilities for testing ZIO applications, targeting Scala 3.

<dependency> <groupId>dev.zio</groupId> <artifactId>mock-test_3</artifactId> <version>1.0.0-RC2</version> </dependency>
INSTALL
IMPORT
SIG · MOCK-TEST-3
M
mock-test-3
testingjavav1.0.0-RC2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Expectation
zio.mock.Expectation

Creates a mock clock expectation and uses it in a ZIO test.

import zio.mock.Expectation import zio.test._ val mock = MockClock(Expectation.value(123L)) val result = mock.provideLayer(Clock.live) *> Clock.nanoTime
Debug
Known issues
breakingThis is a release candidate (1.0.0-RC2) and may have breaking changes before stable.
fix
Use with caution and test thoroughly; consider waiting for stable release.
affects: 1.0.0-RC2
Upgrade
Version history
1.0.0-RC2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
mock-test-3 — mvn dependency:get mock-test-3 · libregistry