Skip to content

TASK: Write a test for a Person method #81

Description

@TheGittyPerson

📍 *This is a pinned task. (just not actually pinned on the Issues page)
Everyone can contribute and share their ideas here, and you can still complete the task even if others have already done so.

Difficulty: Intermediate to Advanced (requires knowledge or experience in module testing)

TODO:

  • Based on your coding level and experience, choose one method in the Person class in person.py to test
  • Create a new tests folder in the root directory.
  • Create a new module in the folder named test_person.py if it's not there yet (intended for others to also create tests for other methods)
  • Run the test and paste the output in your pull request description.
  • Remember to add type hints & docstrings and follow PEP 8

PR steps:

  1. Fork this repo
  2. Clone the forked repo
  3. Create a new branch: name the branch test/person-<method-name>. Replace <method-name> with the name of the method you chose
  4. Push commits to your remote fork
  5. Create a PR titled TASK: Write a test for a `Person` method (#81)
  6. DO NOT add Closes #81 at the end of the PR description
  7. Submit the PR (Ensure you allow maintainers to edit)
  8. Optional: Request a review from a maintainer

Please make sure you have read the Contributing Guidelines before
working.

Feel free to ask any questions here!
You do not need to leave a comment to work on this task.

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomershelp wantedExtra attention is neededtaskThis is a task issue / PR completing a tasktestChanges to test files🐝 Lower AdvancedGood for devs with many years of experience and confidence in programming📌 pinnedThis is important!🦗 Upper IntermediateGood for growing devs with good confidence and experience in programming🦟 IntermediateGood for growing devs who've been coding for a while🪲 AdvancedGood for devs with many years of experience and potentially some formal education

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions