After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 736379 - validate: Start implementing a testsuite
validate: Start implementing a testsuite
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-devtools
git master
Other Linux
: Normal enhancement
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-09-10 06:59 UTC by Thibault Saunier
Modified: 2014-11-08 14:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
validate: Start a testsuite (30.93 KB, patch)
2014-09-11 07:39 UTC, Thibault Saunier
committed Details | Review

Description Thibault Saunier 2014-09-10 06:59:32 UTC
We should have a testsuite for our various monitors.

Most of the test in the various monitors should have unit test associated so that we can detect regressions and make sure that the testing logic is actually correct.
Comment 1 Thibault Saunier 2014-09-11 07:39:29 UTC
Created attachment 285886 [details] [review]
validate: Start a testsuite

Currently implemented tests are:
  * Settup and cleanup on monitor is done properly
  * Some tests in the PadMonitor are done properly, namely:
        - Buffer before segment
        - Buffer outside segment
        - First buffer running time is always 0
        - The Demuxer flow aggregation is properly checked
Comment 2 Thibault Saunier 2014-09-12 08:01:34 UTC
Attachment 285886 [details] pushed as 7e85c9b - validate: Start a testsuite
Comment 3 Thibault Saunier 2014-09-12 08:02:34 UTC
Let's keep track of the testsuite implementation in that bug report, not closing yet.
Comment 4 Mathieu Duponchelle 2014-10-22 11:07:39 UTC
Closing as the test suite has been started, development of tests should now be a good practice for new features, and proposed on the same bug reports.