Re: Testing: best practices
Rémi Denis-Courmont <[email protected]> Wed, 15 Jan 2025 20:16:53 +0800
| Newsgroups | gmane.comp.video.videolan.vlc.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Le 11 janvier 2025 21:19:42 GMT+08:00, Jorge Bellon-Castro <[email protected]> a écrit : >Good afternoon, >I submitted a few bug fixes and extensions to the dbus control module in >the past. One thing I noticed is that there is no integration testing for >this. Even if this is not interesting for the VLC project specifically (in >which case I would not submit any merge request), I think it could be handy >for me to have some sort of small tests that validate my current and >specially future changes. > >I am looking for some good practices to implement a few test cases. Some of >the basic things I will need to do is to queue media to play and inspect >the tracklist. I found there are two ways test queue media to be played: >some tests use files in the sample directory and others use the "mock://" >uri scheme. Are there any advantages of using one over the other? Using real files is the older method from before mock was introduced. If you can use real files, then do that, but beware that we can't have large files there. Br, _______________________________________________ vlc-devel mailing list To unsubscribe or modify your subscription options: https://mailman.videolan.org/listinfo/vlc-devel