<<

NAME

misc/devel/create_test_data.pl

SYNOPSIS

 create_test_data.pl -n 99 -s ObjectName [ -d foreignkey=somevalue ]

This script allows for quickly generated large numbers of test data for development purposes.

OPTIONS

-s|--source <source>

The DBIx::Class ResultSet source to use ( e.g. Branch, Category, EdifactMessage, etc. )

-d|--data <valumn>=<value>

Repeatable, set a given column to the specified value for all generated data.

create_test_data.pl -n 5 -s Issue -d borrowernumber=42 -d -d branchcode=MPL

-n|--number <number>

The number of rows to create

-h|--help

prints this help text

<<