Northeastern-Electric-Racing / Northeastern-Electric-Racing/FinishLine

BOM - Make Edit Assembly Endpoint Tests

Open
#2,291 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

back-end testing
Dominant language
TypeScript
Stars
36
Forks
9
Avg merge
4d 21h
Merged PRs (30d)
11

Description

Description

Blocked by #2290

We need to make tests for the newly created edit assembly endpoint.

Acceptance Criteria
  • There are tests for the new edit assembly endpoint
  • The test situations such as:
    • Trying to edit a deleted assembly
    • Trying to edit an assembly that doesn't exist
    • Trying to edit an assembly as a user that isn't authorized
    • Successfully editing an endpoint
    • Any others you think of.
  • The tests don't use mocks. They should use the new format for testing without mocks.
Proposed Solution

The tests should use the new format for testing without mocks. See Peyton for any clarification.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the edit assembly endpoint created for #2290 and the repository’s new format for testing without mocks. Add coverage for deleted, nonexistent, and unauthorized assemblies, plus successful editing and other relevant cases; done means the endpoint tests pass without mocks.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.