Cap icon indicating copy to clipboard operation
Cap copied to clipboard

Implement Rust testing framework

Open richiemcilroy opened this issue 1 year ago • 9 comments

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.

richiemcilroy avatar Nov 24 '24 02:11 richiemcilroy

/bounty $200

richiemcilroy avatar Nov 24 '24 02:11 richiemcilroy

💎 $1 bounty • Rishi Mondal

💎 $200 bounty • Cap

Steps to solve:

  1. Start working: Comment /attempt #184 with your implementation plan
  2. Submit work: Create a pull request including /claim #184 in the PR body to claim the bounty
  3. 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

algora-pbc[bot] avatar Nov 24 '24 02:11 algora-pbc[bot]

/attempt #184

Algora profile Completed bounties Tech Active attempts Options
@asr2003 9 bounties from 4 projects
Scala, Rust,
Go & more
Cancel attempt

asr2003 avatar Nov 24 '24 02:11 asr2003

/attempt #184

Options

vishwamartur avatar Nov 27 '24 04:11 vishwamartur

💡 @vishwamartur submitted a pull request that claims the bounty. You can visit your bounty board to reward.

algora-pbc[bot] avatar Nov 27 '24 04:11 algora-pbc[bot]

Is this still valid ?(as you have not reviewed previous PR)

cc @richiemcilroy

Gmin2 avatar Nov 30 '24 15:11 Gmin2

@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

asr2003 avatar Nov 30 '24 16:11 asr2003

@richiemcilroy Can i work on this issue

luffy-orf avatar Apr 12 '25 11:04 luffy-orf

@richiemcilroy

webbdays avatar May 06 '25 14:05 webbdays

Hi @richiemcilroy please update

webbdays avatar Jul 06 '25 06:07 webbdays

/attempt #184

Sambit003 avatar Sep 10 '25 08:09 Sambit003

/attempt #184

Excellencedev avatar Sep 11 '25 05:09 Excellencedev

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.

Brendonovich avatar Sep 15 '25 03:09 Brendonovich

@Excellencedev: You've been awarded a $1 by Rishi Mondal! 👉 Complete your Algora onboarding to collect the bounty.

algora-pbc[bot] avatar Oct 06 '25 10:10 algora-pbc[bot]

@Excellencedev enjoy

MAVRICK-1 avatar Oct 06 '25 10:10 MAVRICK-1