GStreamer test suite
GStreamer test suite
Posted Oct 28, 2013 11:11 UTC (Mon) by drothlis (guest, #89727)Parent article: Where to next for GStreamer
Re. a GStreamer test suite: Later in the same conference HÃ¥vard Graff presented the test framework that his employer, Pexip, has built for testing GStreamer elements. It allows fine-grained control of input and output buffers, and of the GStreamer clock. Most importantly, it looked really easy to use, with minimal boilerplate. He said they plan to push it upstream. I'm not sure how many actual tests they have to upstream, though.
I develop an application (stb-tester) that's built on GStreamer, and I have found that GStreamer's "videotestsrc" makes it really easy to write end-to-end integration tests in a few lines of shell. This isn't a replacement for unit-testing (which is particularly useful for testing complex scenarios), but it does give a lot of value for low effort.