theupdateframework / theupdateframework/python-tuf
Create simple test for examples/client_example
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 304
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 17
Description
Description of issue or feature request:
Adding a tests folder in examples/client_example and writing a simple test would be a great demonstration of best practices to who will be using the code to start a client implementation. Also, it avoids us making changes and breaking the example.
Current behavior:
No tests to the client example
Expected behavior:
Unit tests to the client example
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 by reading the code in examples/client_example and reviewing how its client implementation is used. Add a tests folder there with a simple unit test that exercises the example, then run the new test to confirm it passes and demonstrates a maintainable way to detect regressions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100