metosin/malli

Testing utilities

开放

#369 创建于 2021年2月16日

 (4 条评论) (3 个反应) (0 位负责人)Clojure (237 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (1,724 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

common helpers for malli assertions for tests. Can be done in user space, but, might be handy as a ns like malli.test.

From Slack:

aaron51 21 hours ago Yes, it is straightforward enough to write it in user space. But I thought it would be a common case… Found a few similar things: schema: https://github.com/plumatic/schema/blob/master/test/clj/schema/test_macros.clj schema: https://github.com/plumatic/schema/blob/master/test/cljx/schema/core_test.cljx clojure-expectations has “spec expectations” https://github.com/clojure-expectations/clojure-test

borkdude 21 hours ago I also have this one: https://github.com/borkdude/respeced This was written to test fdef specs.

贡献者指南