- Issue created by @mandclu
- 🇮🇳India jbhimani
Devel Generate:
Part of the Devel module.
Used for generating dummy content, users, and taxonomy terms for testing and development purposes.
Offers flexibility in specifying the number and types of entities to create.Generated Content:
Focuses on creating predefined sets of content based on specific configurations.
Typically used for seeding sites with initial content rather than just for testing.In summary, as per knowledge, devel_generate is primarily for development and testing with flexible dummy data, while generated_content is more about structured initial content setup.
- 🇦🇺Australia alex.skrypnyk Melbourne
With generated_content, you have full control over what content is being created and how to create it. With Devel Generate it is all completely random. Each module has own use-cases.
Generated Content is used, for example, to generate pseudo-random content to then use in Visual Regression testing where the content must remain the same to get the snapshots look the same.
Generated Content is a harness for custom code, where Devel Generate is more out-of-the-box commands.
Generated Content is not about creating initial content (default_content is very good for that), but rather about having a re-produceable outcome on each build. Very useful when building profiles and other scaffolds that still require some content filling.
Generated Content is used to test CivicTheme: https://default.civictheme.io/generated-content/components
- Status changed to Closed: works as designed
8 months ago 8:46am 30 June 2024