oxidecomputer / oxidecomputer/omicron
Add interfaces to make wicket usable in an automated testing environment
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 572
- Forks
- 97
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 96
Description
wicket currently exposes functionality in two ways: the main wicket TUI (most functionality, including triggering rack setup), and clap-driven CLI subcommands (mostly anything that provides input, particularly the configuration for rack setup). When we get to the point where we want to run tests on real hardware lab environments, we will want to drive wicket in an automated way. A couple obvious options are:
- Invest in testing and driving the wicket TUI (multiple implementation options are available here; e.g., something like
expectthat reads and navigates the TUI as-is, hooking into the event / replay stream a la the wicket debugger) - Expose more functionality in the CLI, since it should be straightforward to drive those automatically
IMHO 2 would be relatively quick and easy, but 1 might be more valuable (since it would give us more extensive testing of wicket itself).
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 comparing wicket's TUI and clap-driven CLI entry points, then review how rack setup is triggered and how the debugger's event or replay stream works. The issue presents two possible approaches rather than naming files or tests; done means selecting and implementing an interface that can drive wicket for automated real-hardware lab testing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100