justinsalamon / scaper

A library for soundscape synthesis and augmentation
BSD 3-Clause "New" or "Revised" License
383 stars 56 forks source link

Strengthen tests using seeding #91

Open pseeth opened 4 years ago

pseeth commented 4 years ago

With the introduction of seeding in Scaper 1.2.0 (and a bug fix for it later on), we can likely revamp and strengthen the test suite a bunch. Starting this issue so we can discuss potential ways to use seedable Scaper generators to make a better test suite.

The ideal would be a PR that creates a lot of interesting new tests that really explore the edge cases of Scaper to make sure we're not missing anything in the main library. Ideally, this PR wouldn't touch the main code, but rather just refactor the test suite and make it better while maintaining 100% coverage.