Difference from Devel Generate?

Created on 2 May 2024, 10 months ago
Updated 30 June 2024, 8 months ago

Problem/Motivation

This sounds like a really interesting module. Based on the module page, it sounds like there's some significant overlap with how Devel Generate works. Can you clarify how they're different? It might be useful to have this information on the project page.

💬 Support request
Status

Closed: works as designed

Version

1.5

Component

Code

Created by

🇨🇦Canada mandclu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • 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
  • 🇦🇺Australia alex.skrypnyk Melbourne
Production build 0.71.5 2024