metosin/malli

Testing utilities

Open

#369 aberto em 16 de fev. de 2021

Ver no GitHub
 (4 comments) (3 reactions) (0 assignees)Clojure (237 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (1.724 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador