metosin/malli

Testing utilities

Open

#369 ouverte le 16 févr. 2021

Voir sur GitHub
 (4 commentaires) (3 réactions) (0 assignés)Clojure (237 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (1 724 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur