#integration-tests #database-schema #integration #random #testing #db #value

app spawnflake-cli

Generate random test data for any mysql database schema

4 releases

0.2.8 Apr 3, 2024
0.2.7 Mar 25, 2024
0.2.6 Mar 18, 2024
0.2.5 Mar 12, 2024

#949 in Development tools

Download history 98/week @ 2024-03-08 140/week @ 2024-03-15 205/week @ 2024-03-22 123/week @ 2024-03-29 20/week @ 2024-04-05 1/week @ 2024-04-12

355 downloads per month

MIT license

69KB
1.5K SLoC

a pixel fish spawnflake-cli

This is the cli tool the loyal companion of the spanwflake libary It should work on both windows and linux (mostly tested in linux)

Usage

spawnflake-cli[.exe] [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -c <configuration>               sets a custom configuration name and path relative to this location
    -d <datastore>                   Sets the type of the datastore to generate values. By default executes the entire
                                     configuration
    -s, --spawn-size <spawn-size>    Set the number of rows per table to be generated

example

spawnflake-cli[.exe] -s 4 -c ..\config.json

Configuration

Installing

  • You can build it from source by cloning this repo and running cargo build --release
  • Or you can install it directly from crates.io Just do cargo install spawnflake-cli. In this case, though, make sure that ~/.cargo/bin/ is in your PATH variable

Dependencies

~19–35MB
~596K SLoC