Skip to content

Take-Home Assignment Submission - Akriti Chauhan - #83

Open
itsakritihere wants to merge 1 commit into
rohit-ups:mainfrom
itsakritihere:main
Open

Take-Home Assignment Submission - Akriti Chauhan#83
itsakritihere wants to merge 1 commit into
rohit-ups:mainfrom
itsakritihere:main

Conversation

@itsakritihere

Copy link
Copy Markdown

Summary

Completed the take-home assignment by adding comprehensive unit and integration tests, identifying and fixing a pagination bug, and implementing the new task assignment endpoint.

Completed Work

  • Added unit tests for taskService.js
  • Added integration tests using Jest + Supertest
  • Achieved 40/40 passing tests
  • Achieved 92.9% statement coverage
  • Documented the discovered bug in BUG_REPORT.md
  • Fixed the pagination offset calculation
  • Implemented PATCH /tasks/:id/assign
  • Added validation and edge-case handling for task assignment

What I'd Test Next

  • Negative pagination values
  • Additional validation edge cases
  • Concurrent update scenarios
  • Persistent database behavior

Thanks for reviewing my submission!

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.

1 participant