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

Write tests for User RPC #15

Closed
4 tasks done
tmthecoder opened this issue Oct 31, 2023 · 0 comments · Fixed by #29
Closed
4 tasks done

Write tests for User RPC #15

tmthecoder opened this issue Oct 31, 2023 · 0 comments · Fixed by #29
Assignees

Comments

@tmthecoder
Copy link
Contributor

tmthecoder commented Oct 31, 2023

Write Tests for User RPC

Context

The User RPC endpoint exposes a CRUD RPC endpoint that allows other services to work with users via RPC. These methods currently have no associated tests and must have some added in.

Requirements & Criteria

  • Tests are written within db-service/tests/app.e2e-spec.ts
  • Tests cover cases of invalid input (with appropriate exception/error checking)
  • Tests cover cases of correct input
  • Tests cover all of gRPC methods (create, get, update, delete, link project)

NOTE: The full test-suite for any package can be run in the root directory of the project by running yarn test:e2e:[service-name]

@tmthecoder tmthecoder changed the title Write tests for User Creation RPC Write tests for User RPC Oct 31, 2023
@SamratSahoo SamratSahoo self-assigned this Nov 5, 2023
@UZ9 UZ9 self-assigned this Jan 26, 2024
@tmthecoder tmthecoder linked a pull request Feb 6, 2024 that will close this issue
@tmthecoder tmthecoder mentioned this issue Feb 6, 2024
5 tasks
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 a pull request may close this issue.

3 participants