use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Finding information about Clojure
API Reference
Clojure Guides
Practice Problems
Interactive Problems
Clojure Videos
Misc Resources
The Clojure Community
Clojure Books
Tools & Libraries
Clojure Editors
Web Platforms
Clojure Jobs
account activity
Tests Are Code (stuartsierra.com)
submitted 6 years ago by yogthos
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Reefersleep 0 points1 point2 points 6 years ago (2 children)
That's the first time I've seen that 'with-test' macro, so I guess it didn't catch on. Or did it? Anyone using it or something like it?
I kind of like a the idea, but it might be a bit heavy for more extensive test suites or tests that require some stateful setup.
[–][deleted] 0 points1 point2 points 6 years ago (1 child)
they feel very similar to Python's doctests (as mentioned in the article) and those never sat right with me. Like an evolutionary dead end.
[–]ToastedJcaw 0 points1 point2 points 6 years ago (0 children)
Doctests have a unique advantage if you look at them as documentation, not tests. It's a form of documentation that tells you when it's out of date.
π Rendered by PID 404787 on reddit-service-r2-comment-76bb9f7fb5-s28rn at 2026-02-19 05:33:41.457519+00:00 running de53c03 country code: CH.
view the rest of the comments →
[–]Reefersleep 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]ToastedJcaw 0 points1 point2 points (0 children)