Liking cljdoc? Tell your friends :D

edngen

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.

Usage

Library

[edngen "0.0.2"]
(ns your.ns
  (:require [edngen.core :as edngen]))

(edngen) ; => "...some random edn..."

Program

lein run [N]

It generates N EDN string, one per line. If N is not given, it runs infinitely.

Known Issues

The program doesn’t terminate when its output is truncated, e.g. lein run | head.

License

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 is a website building & hosting documentation for Clojure/Script libraries

× close