Skip to content

Comments

London | 26-ITP-January | Laura C | Sprint 3 | Practice TDD#1002

Open
lauracs24 wants to merge 3 commits intoCodeYourFuture:mainfrom
lauracs24:coursework/sprint-3-practice-tdd
Open

London | 26-ITP-January | Laura C | Sprint 3 | Practice TDD#1002
lauracs24 wants to merge 3 commits intoCodeYourFuture:mainfrom
lauracs24:coursework/sprint-3-practice-tdd

Conversation

@lauracs24
Copy link

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

  • Implemented countChar using TDD and added test coverage for multiple and zero occurrences.
  • Implemented repeatStr using TDD, including handling of count = 1, count = 0, and negative counts
  • Implemented getOrdinalNumber with grouped test categories covering:
    • Numbers ending in 1, 2, 3
    • All other numbers defaulting to "th"
  • Ran tests frequently during development and ensured all tests in Sprint-3/2-practice-tdd pass.

@lauracs24 lauracs24 added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Structuring-And-Testing-Data The name of the module. 📅 Sprint 3 Assigned during Sprint 3 of this module labels Feb 20, 2026
@lauracs24 lauracs24 moved this to Awaiting Approval🚀 in Coursework Planner Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Module-Structuring-And-Testing-Data The name of the module. Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. 📅 Sprint 3 Assigned during Sprint 3 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant