Skip to content

Test data service to create random persons with valid address, phone number, bank account, credit card and avatar image for software tests

License

Notifications You must be signed in to change notification settings

johnneerdael/faker-webui

 
 

Repository files navigation

test data service

Website Monitor codecov Quality Gate Status Maven Build CII Best Practices License Badge

A Spring Boot REST service to generate test data for german persons incl. address, phone, mobile and current account IBAN to provide GDPR compliant test data. It is adaptable to other countries based on OpenStreetMap and other public data sources.

Another test data generator? Really?

At first I needed valid postal addresses within Germany. I did not find anything usable to meet that requirement. So I chose Open Street Map as a source of valid postal addresses. And as you usually do not want to include a dozen different generators in your test, I kept adding things I needed in my projects.

We are just using a copy of our production database

You should meet a german data protection official. And most of the time this contains either too much data and/or not the data you need for your test.

How to use it

The easy way to setup the test data service is to use Docker. Just run the latest docker image

docker run --name test-data -p 80:8080 datengaertner/test-data-service

After startup you can navigate to http://localhost/ in your browser. It will show a random generated person. There is a link on that page to the included Swagger UI.

For more details please proceed to the docs or the project pages with CI/CD info. If you encounter any problems or identify an error please submit an issue in GitHub.

Disclaimer

DO NOT USE generated data, especially IBAN or credit card number, anywhere else than in your confined test environment. Someone might prosecute you for fraud.

About

Test data service to create random persons with valid address, phone number, bank account, credit card and avatar image for software tests

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 86.7%
  • Python 5.1%
  • JavaScript 4.4%
  • HTML 2.0%
  • Dockerfile 0.7%
  • CSS 0.7%
  • Gherkin 0.4%