-
-
Notifications
You must be signed in to change notification settings - Fork 174
Add recording smoke test #775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
/bounty $100 |
💎 $100 bounty • OpenAdaptAISteps to solve:
Thank you for contributing to OpenAdaptAI/OpenAdapt! Add a bounty • Share on socials
|
/attempt #775
|
@abrichr can i get assigned? |
@unworld11 feel free to submit an attempt, we will merge whoever submits working code that meets the required standard first. |
💡 @onyedikachi-david submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
Related to OpenAdaptAI#775 Add a recording smoke test to ensure the recording functionality works as expected. * **New Test File**: Add `tests/openadapt/test_record.py`. * **Setup and Teardown**: Use `pytest` fixtures to set up and tear down the test environment. * **Recording Test**: - Call `openadapt.record` and wait for the `recording.started` signal. - Stop the recording by emitting the stop sequence. - Assert the state of the database to ensure the recording is created. - Assert the state of the filesystem to ensure the video and performance plots are created.
/attempt #775
|
💡 @vishwamartur submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
Feature request
We would like to add an automated test that:
openadapt.record
recording.started
signal to be emitted (fails after e.g. 30s if no such signal is emitted)openadapt.playback
)Motivation
Avoid regressions like in:
The text was updated successfully, but these errors were encountered: