4,529
edits
Changes
m
Wheter *no_trans: =0/1 <br />Whether to add a line break to every text fielduse one transaction or multiple small ones** One transaction** Multiple transactions
No linebreak*long_names: =0/1 <br />Whether to create short or long names** Short names** Long names
Add line break*bugs: =0/1 <br />Whether to create invalid database references.** Skip test** Create invalid Database references
Number of dummy persons *add_serial: =0/1 <br />Whether to generateadd a serial number to every text field** No serial** Add serial number
Value*specialchars: ''Number of persons''=0/1 <br />Whether to add some special characters to every text field** No special characters** Add special characters
*no_trans: =0/1
Wheter to use one transaction or multiple small ones
One transaction
Multiple transactions
*long_names: =0/1
Wheter to create short or long names
Short names
Long names
*bugs: =0/1
Whether to create invalid database references.
Skip test
Create invalid Database references
*persons: =0/1
Whether to create a bunch of dummy persons
Dont create persons
Create dummy persons
*add_serial: =0/1
Wheter to add a serial number to every text field
No serial
Add serial number
*specialchars: =0/1
Wheter to ass some special characters to every text field
No special characters
Add special characters
→Generate Testcases for Persons and Families
gramps -O "My Family Tree" -a tool -p name=a_tool,show=some_option
See [[Gramps_5.0_Wiki_Manual_1_Wiki_Manual_-_Command_Line#report_action_option|Command Line]] for more information.
==Reports==
dgenstats
===Generate Testcases for Persons and Families===
Generates a ([https://www.statisticshowto.com/random-seed-definition/ seeded]) randomized tree to allow specific error conditions to be tested. The issues it generates can be corrected via the '[[Check_and_Repair_Tool|Check and Repair]]' tool.
====Usage====
*name:
<code>testcasegenerator</code>====Parameters====*add_linebreak: =0/1 <br />Whether to add a line break to every text field** No linebreak** Add line break
*add_linebreakperson_count: =0int <br /1>Number of dummy persons to generate** Value: ''Number of persons''
*person_countpersons: =int0/1 <br />Whether to create a bunch of dummy persons** Don't create persons** Create dummy persons
===Verify the Data===