edngen is a simple Clojure library/program to generate random EDN strings.
It’s based off Clojure’s own EDN test suite.
I wrote it to generate tests for the edn_format Python library.
[edngen "0.0.2"]
(ns your.ns
(:require [edngen.core :as edngen]))
(edngen) ; => "...some random edn..."
lein run [N]
It generates N EDN string, one per line. If N is not given, it runs
infinitely.
The program doesn’t terminate when its output is truncated, e.g. lein run | head.
Copyright © 2018-2019 Baptiste Fontaine
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |