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

Testing part1 #7

Merged
merged 10 commits into from Aug 19, 2022
Merged

Testing part1 #7

merged 10 commits into from Aug 19, 2022

Conversation

ishpaul777
Copy link
Owner

@ishpaul777 ishpaul777 commented Jul 13, 2022

In this Pull request Me and my coding partner @hammaazarok Implemented the following-

  • Use jest framework for testing.
  • Created a test file [crud.test.js] to test the Add or Remove task to list in UI AND local Storage Functions

Updated Testing Part 2 code added see after the Approval of test part1

Following tests are written

  • checks for function for editing the task description.
  • checks for a function for updating an item's 'completed' status.
  • checks for the "Clear all completed" function.

Copy link

@OmarRamoun OmarRamoun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Almost There! 🏃

Hi @hammaazarok and @ishpaul777 👋

Good job so far! 👏. Your Coding Style is Impressive! 💪.

There are some few issues 🐛 that you still need to work 🔧 on though to go to the next project ⏭️ but you are almost there! 🏃

Don't Worry 🙏

It's ok to have bugs in your code 🐛. Please, see this code review as a chance for you to learn practical coding skills and learn new tips 🌟 that can improve your code quality 💯 and help you get a better job 💼.

I will guide 📔 you through fixing 🔧 these bugs 🐛, just follow my comments down below 🔽 and make sure you don't miss any of them, in order to get your project approved ✅

Highlights 🌟

  • ✔️ Descriptive commmit messsages
  • ✔️ Descriptive PR description
  • ✔️ No linter Errors
  • ✔️ Super Cool UI with Dark Mode. 👏 👍
  • The code is top-notch! 💯 and have a huge potential.

Note: The UI is so cool. You have done such a great work @hammaazarok and @ishpaul777. Keep up the great work.

Required Changes ♻️

Check the comments under the review.

Cheers and Happy coding!👏👏👏

Important Notes 📝

  • Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
  • Please, remember to tag me in your question so I can receive the notification.

Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Note: Please, don't Merge This Pull Request yet. Only Merge when it is Approved ✅.

Thank you for your time 🙏 and call me if you need help or clarification ☎️

  • This is My GitHub: @omarramoun
  • This is My Twitter: @omarramoun
  • This is My Slack: Ramoun

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

src/tests/crud.test.js Outdated Show resolved Hide resolved
Copy link

@dasileker dasileker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ishpaul777,

Congratulations! 🎉

Your project is complete! There is nothing else to say other than... it's time to merge it 🚀 :

Cheers and Happy coding!👏👏👏

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.


As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Copy link

@ishimwezachee ishimwezachee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ishpaul777 ,

Good job so far!
There are some issues that you still need to work on to go to the next project but you are almost there!

Highlights

Linters are passing 👍
Project is running successfully 👍

Required Changes ♻️

I have tried to run your test, but seemed like jest is somehow configured in wrong way, please fix so that I can run the test successfly
image

Check the comments under the review.

Optional suggestions

Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.

Cheers and Happy coding!👏👏👏

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.


As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

@ishpaul777
Copy link
Owner Author

ishpaul777 commented Jul 14, 2022

@ishimwezachee Thanks for taking time to review the Pull Request. there are certain dependencies which you have to install to make the tests work you have install Babel, jest, and jsdom in local environment to make the tests work.
Run npm install to download all dependences

Copy link

@Nemwel-Boniface Nemwel-Boniface left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @ishpaul777 👋 ,

I am Nemwel your reviewer for this PR 🧔‍♂️

Thank you for meeting all the project requirements all your tests pass! good job! 🥳
Your project is complete! There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🥳 🎉

Highlights

Great job setting up the correct linters ✔️
Professional documentation ✔️
Correct workflow ✔️
Meaningful commit messages ✔️
Met all the milestone requirements ✔️

[Optional] suggestions

Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.

Cheers and Happy coding!👏👏👏

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me @Nemwel-Boniface in your question so I can receive the notification.


As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

@ishpaul777 ishpaul777 merged commit 4dfdc55 into master Aug 19, 2022
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.

None yet

6 participants