Documentation
Everything the command line and the window do, and how to read what they tell you.
QA Data Generator makes test data in two kinds. Good data passes validation: whole datasets from a recipe, where names, places and identifiers agree with each other and every check digit is correct. Bad data is the same data broken on purpose, beside a manifest that says what your application should do with every value that was changed.
It comes as two programs over one engine. qadg is the command line, for a terminal and a pipeline. qadg-gui is a window with the same engine behind four screens.
If you have never run it, start with Getting started. If you already have a CSV file to test with, go to Damage a file you already have.
Getting started
Get QA Data Generator, print your first valid value, then generate a whole dataset from a recipe and break it on purpose, in a few minutes.
Recipes
Describe tables, row counts, relations and column rules in one YAML file. Every key a recipe takes, what it does, and how validate reports a problem.
Generators
Everything QA Data Generator can fill a column with: names, places, emails, passwords, UUIDs, test card numbers, ISBN, VIN, SSN and Polish national numbers.
What it breaks
Every kind of damage this version does to a value, grouped as the window shows it, with what your application should do about each one.
The manifest
The file written beside damaged data: where each defect is, the value before and after, what your app should do, and its Gherkin, CSV and Markdown forms.
Damage a file you already have
Point qadg corrupt at a CSV file. It works out what each column holds, says why, damages a copy and writes what your application should do with each value.
Check what your app did
Record what your application did with each row, and qadg verify lists every row where it disagrees with the manifest, with an exit code to fail a build on.
The window
Quick value, Recipe, Damage a file and Check results: what each screen of the window does, and which command does the same.
Using it in CI
Run QA Data Generator in a pipeline: the same seed gives the same bytes, data and log go to separate channels, and every ending has its own exit code.
Command line
Every command and flag of qadg as its help prints them: generate, validate, corrupt, verify, quick and help, each with an example.
Exit codes
What each exit code of qadg means, from 0 for a run that succeeded to 4 when your application did not do what the manifest says, as qadg --help prints them.