Tests: Component - Cli
- Dominant language
- Python
- Stars
- 132
- Forks
- 69
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 47
Description
This issue is to keep track of component tests related to the CLI.
- [ ] Test if CLI is able to connect to server, create credentials for mutual TLS and a secure channel and is able to open an insecure channel without credentials.
- [ ] Test if CLI reports success/error if server call returns true/false.
- [ ] Test inputs are parsed correctly for: create_bdev/create_subsystem/add_namespace/ add_host/create_listener. Also check that the calls are built and sent to the server correctly, and return success unless an exception is raised
- [ ] Test inputs are parsed correctly for: delete_bdev/delete_subsystem/remove_namespace/ remove_host/delete_listener. Also check that the calls are built and sent to the server correctly, and return success unless an exception is raised
Contributor guide
Research direction
Start by locating the CLI component tests and the handlers for the listed create, add, delete, and remove operations. Check how connection setup, server true/false responses, input parsing, request construction, and exception paths are currently covered. Done means adding tests for every checklist item and confirming the CLI reports the expected result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100