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

Server relationship tests #1296

Merged
merged 4 commits into from
Mar 18, 2021
Merged

Server relationship tests #1296

merged 4 commits into from
Mar 18, 2021

Conversation

mike12345567
Copy link
Collaborator

@mike12345567 mike12345567 commented Mar 16, 2021

Description

Updating the server test cases to coverage the packages/server/src/db/linkedRows set of functionality. This didn't have great coverage initially and had been a real source of bugs, we had to do a lot of work to get this functioning as expected.

There is now 100% coverage specifically in the LinkController which is where all of the primary logic that drives relationships is stored and was the source of all relationship bugs. This should make it much easier to adjust in the future.

In combination with the integrations test suite (#1295) coverage across the server codebase is raised to 92.5% with 95% of functions in the system tested.

Screenshots

Coverage of linked rows directory after test cases added:
image

@mike12345567 mike12345567 merged commit 9f8d212 into next Mar 18, 2021
@mike12345567 mike12345567 deleted the tests/relationships branch March 18, 2021 13:13
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.

None yet

1 participant