omeryusufyagci / fast-music-remover

A C++ based, lightweight music and noise remover for YouTube and other internet media, using DeepFilterNet for audio enhancement.
MIT License
62 stars 11 forks source link

Testing: Add Unit Tests for `MediaProcessor` using Google Test #8

Open omeryusufyagci opened 1 week ago

omeryusufyagci commented 1 week ago

To eliminate the need for manual testing and verification of the MediaProcessor after every change, unit tests should be added to ensure consistent behavior. Given the nature of the project, this requires appropriate input/output media files to thoroughly test the core functionality of the MediaProcessor.

Objectives:

  1. Find/Generate suitable test I/O for the MediaProcessor: Identify or generate media files that can be used for testing. Ideally, these should be short (a few seconds long) clips covering different use cases (e.g., video with background music, video with pure vocals, noisy background).

  2. Implement Tests Using Google Test: Add tests for critical operations like audio extraction, filtering, and merging back the processed audio with video.

nikhiljangra264 commented 2 days ago

I would Love to work on this. Can you assign me this?

omeryusufyagci commented 2 days ago

Hi @nikhiljangra264, would be great, thanks!