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

FEATURE: Cow Death - Creating CowDeathTable #20

Open
8 tasks
ykeung opened this issue May 26, 2023 · 0 comments
Open
8 tasks

FEATURE: Cow Death - Creating CowDeathTable #20

ykeung opened this issue May 26, 2023 · 0 comments

Comments

@ykeung
Copy link
Contributor

ykeung commented May 26, 2023

Follows after CowDeathController (Issue #19 )

Step 2 (10pts)

Add a new React component called CowDeathTable. It should be able to display a list of CowDeaths in the format returned by the GET endpoints above. Include fixtures, tests and a storybook entry.

Acceptance Criteria

Step 2

  • Manually test the CowDeathTable component by running the React application locally and ensuring it displays the list of CowDeaths correctly.
  • Verify that the CowDeathTable component interacts correctly with the backend by fetching data from the GET endpoints implemented in Step 1.
  • Confirm unit tests and integration tests for the CowDeathTable component pass. Ensure that they pass mutation testing,.

Implementation Todos

Step 2

  • Create a new React component called CowDeathTable that can display a list of CowDeaths in the format returned by the GET endpoints in Step 1.
  • Add tests for the CowDeathTable component to ensure it renders correctly and handles data as expected.
  • Add a storybook entry for the CowDeathTable component, showcasing its various states and behaviors.
  • Include fixtures for the CowDeathTable component to support testing and development.

Testing:

  • Front end tests pass and there is adequate coverage
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

No branches or pull requests

1 participant