Overview of options
Option | Impl. | Value Syntax | Notes |
---|---|---|---|
EncodingOption | yes | “UTF-32”, “UTF-16”, “UTF-16BE”, “UTF-8”, “ISO-8859-1”, “ASCII” | Encoding when reading a file. |
DecimalPlacesOption | yes | Non-negative integer | Desired decimal places of a decimal number |
StepOption | yes | Non-negative decimal number | Desired min. distance between generated numbers |
SymbolsToUseOption | yes | Any character | Desired character set to generate random strings |
SqlWhereOption | yes | Logical SQL expression with physical name, e.g. salutation=’master’. | Additional Where query for SQL data sources |
ValueGroupOption | yes | String as Id of the group | Data of the same group comes from the same row. For DB sources from the same DB table row. For files from the same file line. For value sets from the same position. |
DatePrecisionOption | no | ? | Desired accuracy when generating date/time. Possibly better to use than Value at the Field. |
Referencing options so that they can be used
A data source is registered in the metadata table slTestdataOptionTypes. As cSharpClass the class name is to be entered, which results from:
Scopeland.TestDataGeneration.RandomNew.Options.<NameDerOption>
for example:
Scopeland.TestDataGeneration.RandomNew.Options.EncodingOption
Only those options should be referenced which have “Impl.” set to “yes”!