metosin/malli

Testing utilities

Open

#369 创建于 2021年2月16日

在 GitHub 查看
 (4 评论) (3 反应) (0 负责人)Clojure (237 fork)batch import
enhancementhelp wanted

仓库指标

Star
 (1,724 star)
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.

贡献者指南