Cape Town | 26-ITP-Jan | Pretty Taruvinga | Sprint 3 | Practice TDD#1133
Cape Town | 26-ITP-Jan | Pretty Taruvinga | Sprint 3 | Practice TDD#1133Pretty548 wants to merge 25 commits intoCodeYourFuture:mainfrom
Conversation
… including edge cases
This comment has been minimized.
This comment has been minimized.
2 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
2 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…om> reverted to main
This comment has been minimized.
This comment has been minimized.
cjyuan
left a comment
There was a problem hiding this comment.
Functions look good.
Tests could use some improvement.
Also, can you remove any unused code and unnecessary comments from the files to keep them cleaner? They make the code less readable.
cjyuan
left a comment
There was a problem hiding this comment.
Without the "Needs Review" label, I am not sure if this PR ready to be re-reviewed.
Please note that now your branch has three files not belonging to the TDD exercise.
| test("should append 'th' for numbers ending with 11, 12, or 13", () => { | ||
| test("should append 'th' for special cases 11, 12, or 13", () => { |
There was a problem hiding this comment.
I think the previous description is better.
There was a problem hiding this comment.
Yes definitely, i changed it.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
You deleted files in other subfolders under Sprint-3 in your latest commit. Deleted files are considered "changed files", and that's why the validation bot complained. You can copy the original files from CYF repo to replace the files you deleted, or you can use "git revert" to undo the commit which you deleted all those files. After you restore those files, make a commit. Or you can create a new PR, include a comment that it is a continuation from this PR, and tag me in the new PR. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…/Pretty548/Module-Structuring-and-Testing-Data into coursework/sprint-3-practice-tdd
|
Changes look good. And well done in fixing the branch. |
Learners, PR Template
Self checklist
Changelist
In this PR I implemented the required functions using the TDD approach.
Wrote tests first before implementing the functions
Made the tests pass by writing the correct logic
Refactored the code to improve readability and structure
Ensured all tests pass successfully using Jest
Questions
I would appreciate feedback on:
Whether my TDD workflow is correct
Code structure and readability
Test quality and naming