Skip to content

Implement Rust testing framework #184

Closed as not planned
Closed as not planned

Description

@richiemcilroy

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.

Activity

  1. richiemcilroy commented on Nov 24, 2024

    @richiemcilroy
    MemberAuthor

    /bounty $200

  2. algora-pbc commented on Nov 24, 2024

    @algora-pbc

    💎 $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
  3. asr2003 commented on Nov 24, 2024

    @asr2003

    /attempt #184

    Algora profile Completed bounties Tech Active attempts Options
    @asr2003 9 bounties from 4 projects
    Scala, Rust,
    Go & more
    Cancel attempt
  4. added a commit that references this issue on Nov 27, 2024
  5. vishwamartur commented on Nov 27, 2024

    @vishwamartur

    /attempt #184

  6. algora-pbc commented on Nov 27, 2024

    @algora-pbc

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

  7. Gmin2 commented on Nov 30, 2024

    @Gmin2

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

    cc @richiemcilroy

  8. asr2003 commented on Nov 30, 2024

    @asr2003

    @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

  9. luffy-orf commented on Apr 12, 2025

    @luffy-orf

    @richiemcilroy Can i work on this issue

  10. webbdays commented on May 6, 2025

    @webbdays
  11. webbdays commented on Jul 6, 2025

    @webbdays

    Hi @richiemcilroy please update

  12. Sambit003 commented on Sep 10, 2025

    @Sambit003

    /attempt #184

  13. Excellencedev commented on Sep 11, 2025

    @Excellencedev

    /attempt #184

  14. Brendonovich commented on Sep 15, 2025

    @Brendonovich
    Contributor

    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.

  15. algora-pbc commented on Oct 6, 2025

    @algora-pbc

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

  16. MAVRICK-1 commented on Oct 6, 2025

    @MAVRICK-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions