diff options
author | Marc Coquand <marc@mccd.space> | 2023-12-26 15:02:11 -0600 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2023-12-26 15:02:11 -0600 |
commit | 8f4f7b5252a9e93932818be2dc9613bdc85550d8 (patch) | |
tree | 2ae49ebc87c458932f9e6b556304ad7e7e2b035d | |
parent | e25e05424d79a5010966c4e34e3733f1eb3bcfca (diff) | |
download | fixgen-8f4f7b5252a9e93932818be2dc9613bdc85550d8.tar.gz fixgen-8f4f7b5252a9e93932818be2dc9613bdc85550d8.tar.bz2 fixgen-8f4f7b5252a9e93932818be2dc9613bdc85550d8.zip |
Update README
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ Usually wiring up fake test data is a bunch of work, especially when that data i - Single binary without dependencies - Language agnostic -- Dead simple and fast grammar to generate fixtures in minutes +- Simple syntax - Supports relations - Written in OCaml @@ -17,7 +17,7 @@ Check out the latest [release binary](https://codeberg.org/marcc/fixgen/releases Fixgen makes it simple to generate fixtures. It comes with a tiny DSL: ```sh -$ fixgen 'user (2): id uuidv4, name name; purchase (10): id uuidv4, buyer user.id, amount int(1,40), currency: ("USD","MXN")' -o fixtures +$ fixgen 'user (2): id uuidv4, name name; purchase (10): id uuidv4, buyer user.id, amount int(1,40), currency ("USD","MXN")' -o fixtures ``` This will generate two files: @@ -47,7 +47,7 @@ Fixgen comes with the following built-in types: - name - uuidv4 - int(min,max) -- constant, defined in quotes - `fixgen 'user (1): id uuiv4, name "Bob"'` +- constants, defined using quotes I.E. `$ fixgen 'user (1): id uuiv4, name "Bob"'` - ("multiple","choices") ## Development - Prerequisites |