tests: Add a gst-tester utility
authorThibault Saunier <tsaunier@igalia.com>
Mon, 4 May 2020 21:05:07 +0000 (17:05 -0400)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 19 May 2020 13:14:46 +0000 (13:14 +0000)
commit34916e133d959f0d99e1941c45bb9a8e33dd91f0
tree52c6d493fa962c618ac58caae0b416f5e3402f05
parent618c37fca4151a209c2e2d97a8a8c44ed37fafd2
tests: Add a gst-tester utility

gst-tester is a tool to launch `.validatetest` files with
TAP[0] compatible output and supporting missing `gst-validate`
application which means that it can be cleanly integrated with meson
test harness.

It allows us to use `gst-validate` to write integration tests in any
GStreamer repository keeping them as close as possible to the code. It
can simplify a lot test writing and reading and not having to go into
another repository to implement or run tests makes it more convenient to
use.

This also implements a stupid simple test to show how that works

[0] https://testanything.org/

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/461>
tests/meson.build
tests/validate/gst-tester.c [new file with mode: 0644]
tests/validate/meson.build [new file with mode: 0644]
tests/validate/simplest.validatetest [new file with mode: 0644]
tests/validate/simplest/flow-expectations/log-sink-sink-expected [new file with mode: 0644]