-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Labels
Difficulty - 13Requires a good understanding of relevant systems and toolsRequires a good understanding of relevant systems and toolsThunderscope
Description
Description of the task
Every time we want to launch a simulated test/field test, we need to launch Thunderscope with the specific bazel command for that test. We want to add a feature to select a test to execute within Thunderscope itself without needing to run a new command.
Possible approach:
- Add a widget to select from simulated tests and field tests we could run. Maybe it could use a fuzzy searcher like the
Proto Configurationwidget. - You can use
pytest.mainto query for pytests that are runnable. You may create a new Plugin to bind the newly created simulated tests to the current proto unix of Thunderscope. - Currently,
simulated_test_runnerandfield_test_runnerlaunch their own instances of Thunderscope. Update these fixtures so that we can run these tests in real-time without starting a new instance ofThunderscope. Note that simulated tests can run without Thunderscope! But they run in asynchronous, fast simulated time. We would need to change this behaviour where if we are binding to an already open instance of Thunderscope, we will want to run the test at real-time
Acceptance criteria
- We can launch Thunderscope
./tbots.py run thunderscope_mainand have the option to run any simulated_test we want - We can launch Thunderscope with
--run_blueor--run_yellowand we can launch whichever field_test we want
Blocked By
Metadata
Metadata
Assignees
Labels
Difficulty - 13Requires a good understanding of relevant systems and toolsRequires a good understanding of relevant systems and toolsThunderscope