Northeastern-Electric-Racing / Northeastern-Electric-Racing/FinishLine
BOM - Make Edit Assembly Endpoint Tests
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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