Skip to content

bfontaine/edngen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

Generate random EDN data

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published