Skip to content
New issue

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

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

Already on GitHub? # to your account

test framework for Changes #209

Open
rbuels opened this issue May 10, 2023 · 0 comments · May be fixed by #210
Open

test framework for Changes #209

rbuels opened this issue May 10, 2023 · 0 comments · May be fixed by #210

Comments

@rbuels
Copy link
Contributor

rbuels commented May 10, 2023

Changes are the most error-prone code in the codebase. We are going to need a good unit testing infrastructure for them.

Each change definitely will need its own unit test, that does something along the lines of:

  • load a backend database fixture
  • apply the change to the backend
  • load a frontend database fixture
  • apply the change to that and check results

We will need a way to set up and tear down test databases for both our Mongo and client data stores.

This is a piece of technical debt that has high interest payments.

@rbuels rbuels self-assigned this May 10, 2023
@rbuels rbuels linked a pull request May 10, 2023 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant