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:
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).
Implement Tests Using Google Test:
Add tests for critical operations like audio extraction, filtering, and merging back the processed audio with video.
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 theMediaProcessor
.Objectives:
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).Implement Tests Using Google Test: Add tests for critical operations like audio extraction, filtering, and merging back the processed audio with video.