this post was submitted on 29 May 2024
3 points (100.0% liked)

Clojure programming language discussion

453 readers
1 users here now

Clojure is a Lisp that targets JVM and JS runtimes

Finding information about Clojure

API Reference

Clojure Guides

Practice Problems

Interactive Problems

Clojure Videos

The Clojure Community

Clojure Books

Tools & Libraries

Clojure Editors

Web Platforms

founded 5 years ago
MODERATORS
 

Clojure Goodness: Extending is Macro With Custom Assertions #Testing #Clojure

https://blog.jdriven.com/2024/05/Clojure-Goodness-Extending-is-Macro-With-Custom-Assertions/

The is macro in the clojure.test namespace can be used to write assertions about the code we want to test. Usually we provide a predicate function as argument to the is macro. The prediction function will call our code under test and return a...

#clojure #clj #cljs !clojure@lemmy.ml @clojure

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here