Implement Rust testing framework
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:
- Start recording
- Stop recording
- Copy to clipboard
- Save file
- Render file
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.
/bounty $200
💎 $1 bounty • Rishi Mondal
💎 $200 bounty • Cap
Steps to solve:
- Start working: Comment
/attempt #184with your implementation plan - Submit work: Create a pull request including
/claim #184in the PR body to claim the bounty - Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts
❗ Important guidelines:
- To claim a bounty, you need to provide a short demo video of your changes in your pull request
- If anything is unclear, ask for clarification before starting as this will help avoid potential rework
- Low quality AI PRs will not receive review and will be closed
- Do not ask to be assigned unless you've contributed before
Thank you for contributing to CapSoftware/Cap!
| Attempt | Started (UTC) | Solution | Actions |
|---|---|---|---|
| 🟢 @Sambit003 | Sep 10, 2025, 08:56:22 AM | WIP | |
| 🟢 @Excellencedev | Sep 11, 2025, 05:45:46 AM | #1000 | Reward |
| 🟢 @asr2003 | Nov 24, 2024, 02:21:44 AM | WIP | |
| 🟢 @vishwamartur | Nov 27, 2024, 04:04:49 AM | #187 | Reward |
/attempt #184
| Algora profile | Completed bounties | Tech | Active attempts | Options |
|---|---|---|---|---|
| @asr2003 | 9 bounties from 4 projects | Scala, Rust, Go & more |
Cancel attempt |
💡 @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)
cc @richiemcilroy
@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
@richiemcilroy Can i work on this issue
@richiemcilroy
Hi @richiemcilroy please update
/attempt #184
/attempt #184
With our per-crate CLIs a lot of this isn't necessary anymore, and recording can't even be properly tested. Testing via desktop also isn't as efficient as testing individual crates.
@Excellencedev: You've been awarded a $1 by Rishi Mondal! 👉 Complete your Algora onboarding to collect the bounty.
@Excellencedev enjoy