Skip to content

Investigate creating stories in Python, akin to unit tests (w/ DB awareness & factories) #106

Closed
@thibaudcolas

Description

@thibaudcolas

Initial investigation by @bcdickinson. Rough idea:

  • Declare context in a Python file, as opposed to YAML
  • Inspired by Storybook’s use of JS for variants, which is much more flexible than YAML, and Django unit tests being better with factories rather than fixtures.

Much bigger bit of work than other things we’ve considered during this rock – a good outcome for the rock would be to design an interface for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    decision neededThis requires a decisiondjangoRelated to Django templates capabilitiesenhancementNew feature or request

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions