-
Notifications
You must be signed in to change notification settings - Fork 282
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
Implement Rust testing framework #184
Comments
/bounty $200 |
💎 $200 bounty • CapSteps to solve:
Thank you for contributing to CapSoftware/Cap! Add a bounty • Share on socials
|
/attempt #184
|
Related to CapSoftware#184 Implement a scalable testing system for Rust functions in the Cap desktop application. * **Add test cases**: Create a new file `apps/desktop/src-tauri/tests/desktop_tests.rs` with test cases for `start_recording`, `stop_recording`, `copy_file_to_path`, `copy_screenshot_to_clipboard`, and `export_video`. * **Update package.json**: Add a new command `test:desktop` in `apps/desktop/package.json` to run the Rust tests using `cargo test --manifest-path src-tauri/Cargo.toml`.
/attempt #184 Options |
💡 @vishwamartur submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
Is this still valid ?(as you have not reviewed previous PR) |
@Gmin2 The team is validating with a approach. Has been discussing same with the team and also team recently launched Cap on Product Hunt. Do check it out |
Implement a testing system for Cap desktop, specifically for Rust functions.
The Rust part of the Tauri application can be found in the src-tauri folder.
Implement tests for the following functions:
This new testing system should be easily scaleable for more functions in the future.
We should have a specific command which can be run to launch the tests, e.g. pnpm test:desktop.
The text was updated successfully, but these errors were encountered: