Staging instance, all changes can be removed at any time

Skip to content

Add hypothesis strategies and enrich WebTestCase

Second diff exposing the work I have done so far on improving swh-web tests. This one is about implementing hypothesis strategies to provide relevant input data to tests. This is still a WIP, so more strategies should be added as I progress on rewriting the tests.

Define hypothesis strategies in order to generate relevant input data for tests. Also, add new class methods to WebTestCase in order to retrieve tests data in a JSON serializable format to ease tests implementation.

Related #1271 (closed)


Migrated from D826 (view on Phabricator)

Merge request reports

Loading