Loading...

Test data generators with valid checksums

Forms in Polish systems check PESEL, NIP or REGON numbers, so made-up values fail validation. Testosaur generates valid ones, a new value in every run, and types them into the application during automated tests.

Generators

GeneratorOptions
PESELrange of birth dates, gender
NIP–
REGON9 or 14 digits
Bank account (NRB) and IBAN–
ID card number–
Emaildomain
Phone numberwith or without the +48 prefix
First name, last namegender
Postal code–
Daterange and format, e.g. yyyy-MM-dd or dd.MM.yyyy
UUID–

Every number with a check digit is calculated the way the real one is, so it passes the same validation as data from production.

Your own data

  • List: paste values one per line; every run takes a random one. Good for product names, cities or test logins.
  • Pattern: describe the value with a regular expression, for example FV/\d{4}/[0-9]{2} for invoice numbers. Each value is checked against the pattern before it is used.

How to use them

  1. Create a source in Settings → Test data and check a few sample values with Preview.
  2. In an automated test case, set a "type text" step to take its value from the source.
  3. Run the test. The step results show which value was typed.

A source that is used by a step or by a test plan cannot be deleted, so plans keep working.

Try Testosaur on your own project.

Start free