Building an Image Gallery Blog with Symfony Flex: Data Testing
In the previous article, we demonstrated how to set up a Symfony project from scratch with Flex, and how to create a simple set of fixtures and get the project up and running.
The next step on our journey is to populate the database with a somewhat realistic amount of data to test application performance.
Note: if you did the “Getting started with the app” step in the previous post, you've already followed the steps outlined in this post. If that's the case, use this post as an explainer on how it was done.
As a bonus, we'll demonstrate how to set up a simple PHPUnit test suite with basic smoke tests.
More Fake Data
Once your entities are polished, and you've had your "That's it! I'm done!" moment, it's a perfect time to create a more significant dataset that can be used for further testin...