If you’re testing your web app, you’ll want to ensure you’re doing your tests with real content. I’ve come across a number of tools that help with this, giving you some form of “mock” app data to ensure you have as realistic an experience as possible when testing.
Of course, you could just add data manually, but that’s tedious work that should certainly be automated. Here are some tools/services that could help you out, depending on what you’re building:
Jsonstub - “Fake the backend while you develop the frontend.”
fake-identity.js - “Generate random identity objects including name, address, etc.”
fake2db - “Create test databases that are populated with fake data.”
Chance.js - “A minimalist generator of random strings, numbers, etc. to help reduce some monotony particularly while writing automated tests.”
As you can see, there are lots of options to automate fake data. If you’ve built something similar, or know of another similar tool, feel free to share.
This editorial appears in this week’s issue of the SitePoint Newsletter.