diff options
Diffstat (limited to 'README.md')
-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 |