Skip to content

Add the ability to update the specification to match an existing Drupal site #27

@brianreese

Description

@brianreese

Hey @TravisCarden , I'd like to be able to export an existing spec. My use case: I've inherited an existing codebase and would like to use the drupal spec tool to document future content model changes and generate behat tests, but I don't want to spend the time to manually enter the necessary information into the sheet.

I recently took a stab at such a feature. I'm happy to clean it up and submit a pull request if its something you'd consider. It adds two step definitions to the ContentModelContext, invoked in the behat test scenario as "When I export content entity type bundles" and "When I export content entity type fields". These each export a csv that can be imported into google sheets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions