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

[CO #5,6] Cover MainNewStreetcode component with unit tests #1139

Open
mykola-krai opened this issue Jan 25, 2024 · 0 comments
Open

[CO #5,6] Cover MainNewStreetcode component with unit tests #1139

mykola-krai opened this issue Jan 25, 2024 · 0 comments
Assignees

Comments

@mykola-krai
Copy link
Contributor

Write unit test for creating a streetcode component:

  • test for creation with only all required fields
  • test for creation with all possible fields and entities
  • load image and audio from project assets (create a folder for_tests if not exists). Use both small and large images with .webp format
  • check if correct entity was sent to backend

Write unit test for updating a streetcode component:

  • check if all data that was accepted from mocked get request was set in corresponding fields

Mock all needed request to backend such as Create image request and others

@mykola-krai mykola-krai self-assigned this Jan 25, 2024
@mykola-krai mykola-krai converted this from a draft issue Jan 25, 2024
@mykola-krai mykola-krai moved this from Sprint Backlog to 🏗 In progress in StreetCode Jan 25, 2024
@anastasiavia anastasiavia changed the title Cover MainNewStreetcode component with unit tests [CO #5] Cover MainNewStreetcode component with unit tests Jan 31, 2024
@anastasiavia anastasiavia changed the title [CO #5] Cover MainNewStreetcode component with unit tests [CO #5,6] Cover MainNewStreetcode component with unit tests Feb 21, 2024
@mykola-krai mykola-krai moved this from 🏗 In progress to 📋 Backlog in StreetCode Mar 10, 2024
@mykola-krai mykola-krai removed their assignment Mar 10, 2024
@Michael-Kolpakov Michael-Kolpakov self-assigned this Sep 18, 2024
@Michael-Kolpakov Michael-Kolpakov moved this from 🏗 In progress to 👀PR in StreetCode Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 👀PR
Development

No branches or pull requests

3 participants