Create tests for turtle module
Open
Nobody has claimed this yet.
tests
type-feature
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
turtle module has too few tests.
These are the module's public classes to review if there are test and/or implement them:
- RawTurtle
- ScrolledCanvas
- TNavigator
- TPen
- Tbuffer
- Terminator
- Turtle
- TurtleGraphicsError
- TurtleScreen
- TurtleScreenBase
- Vec2D
Some random notes:
- For those going to work on teleport, see https://github.com/python/cpython/pull/107807#pullrequestreview-1584010411
Here, go the module's functions:
- Screen
- config_dict
- demo1
- demo2
- getmethpartlist (WIP: https://github.com/python/cpython/pull/135533)
- read_docstrings
- readconfig
- switchpen
- write_docstringdict
Linked PRs
- gh-138877
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Lib/test/test_turtle.py and review the unchecked public classes and functions listed in the issue, including the notes about teleport and getmethpartlist. Define a focused subset before working, and consider it done when that subset has meaningful tests covering its public behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100