Lobstersseen ×3NEW
Announcing Hegel-clj(aphyr.com)
The Hegel-clj library has been released, providing a Clojure interface for the Hegel generative testing library. The author created Hegel-clj to address frustrations with the existing test.check library, particularly with complex generators getting stuck during shrinking, often due to the use of the "bind" function. This issue leads to poor shrinking, resulting in large and unnecessary data structures, rather than the most minimal example. The problem stems from test.check's use of shrink trees, which can make it difficult to simplify complex data structures, prompting the need for a new approach like Hegel-clj.