mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
de816a0f57
Integration expect log testing was originally used as a rough-and-ready way to make sure that certain code paths were being executed before the unit tests existed. Now that we have 100% unit test coverage (with expect log testing) the value of the integration expect tests seems minimal at best.
But they do cause numerous issues:
- Maintenance of the expect code and replacements that are required to keep logs reproducible.
- Even a trivial change can cause massive churn in the expect logs, e.g.
|
||
---|---|---|
.. | ||
MockAllTest.pm | ||
MockArchiveStopTest.pm | ||
MockArchiveTest.pm | ||
MockExpireTest.pm | ||
MockStanzaTest.pm |