Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have a way to provide easy fixture data examples for each template #59

Open
5 tasks
brendanheywood opened this issue Jul 6, 2023 · 0 comments
Open
5 tasks
Labels
documentation Improvements or additions to documentation

Comments

@brendanheywood
Copy link
Contributor

brendanheywood commented Jul 6, 2023

At the moment each data source can provide test data, but in most cases like custom fields, it is pretty generic and you really want a test which has realistic shaped data. You may also want more than one test.

  • I'm thinking of a way to provide simpler test fixture data which would be a text area which a chunk of json
  • If provided this would replace the test data provided by the data sources (ie not merged)
  • More than one fixture could be provided
  • Each fixture is shown as its own example, so you can test in a single place things like optional fields, or more complicated things like array sources
  • this is shown inline in the template editing page, but possibly moved under the save buttons
@brendanheywood brendanheywood added the documentation Improvements or additions to documentation label Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant