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

Testing utils #24

Draft
wants to merge 42 commits into
base: main
Choose a base branch
from
Draft

Testing utils #24

wants to merge 42 commits into from

Conversation

nick-stebbings
Copy link
Contributor

@nick-stebbings nick-stebbings commented Sep 28, 2023

Adding a package for testing utilities that exports:

  • A stores object that provides API for easily mocking a sensemaker or matrix store (with possible nested profile, sensemaker stores) with a given set of sensemaker primitives
  • A factories object that generates realistic mock objects for use in testing or Storybook.

Currently you can look at the API by examining the tests in the stores/__tests__ folder.
Currently released as a package @neighbourhoods/testing-utils so that I could check importing from the launcher.

  • Add documentation for the above APIs
  • Complete the Sensemaker, nested sensemaker store features by moving the rest of the code from the nh-launcher
  • Decide if this even should live in this repo!

Copy link
Collaborator

@pospi pospi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks useful, nice start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants