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 Project API Endpoint #18

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

Write tests for Project API Endpoint #18

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

Comments

@tmthecoder
Copy link
Contributor

tmthecoder commented Oct 31, 2023

Write Tests for Project API Endpoint

Context

The Project API endpoint exposes a set of publicly accessible API endpoints that allows callers to perform operations with projects. We want to add e2e tests that checks the API endpoints function correctly

Requirements & Criteria

  • Tests are written within api-gateway/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 API endpoints (get, link user, create)

NOTE: get and link have two endpoints each (GET/PUT /id/:id... & /name/:name...)

NOTE 2: 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 assigned llam36 and unassigned xHayden Jan 22, 2024
@tmthecoder tmthecoder linked a pull request Feb 6, 2024 that will close this issue
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