What problem does it solve?
This Skill simplifies testing for Higher-Kinded-J (HKJ) types by providing fluent, type-safe AssertJ assertions that eliminate boilerplate and ensure test code remains readable and aligned with business logic.
Core Features & Use Cases
- Fluent Assertions: Provides dedicated assertion classes for every HKJ type, including Either, Maybe, IO, VTask, and Monad Transformers.
- Optic Law Harness: Includes a comprehensive suite of static assertions to verify the laws of Iso, Lens, Prism, Affine, and Traversal optics.
- Deterministic Time: Offers a SteppableClock to control time-based logic in tests without relying on system clocks or thread sleeps.
- Use Case: Use this to verify that your domain-specific Either-based error handling or complex optic transformations behave correctly under both success and failure conditions.
Quick Start
Use the hkj-test skill to generate AssertJ fluent assertions for the provided Higher-Kinded-J type and verify its state.