Page MenuHomeSoftware Heritage

Remove storage mocks and use hypothesis in service tests
ClosedPublic

Authored by anlambert on Dec 14 2018, 7:22 PM.

Details

Summary

Fifth and last Diff for the moment exposing the work I have done so far on improving swh-web tests.

In this one, remove storage mocks in the service module.

Related T1271

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

anlambert created this revision.Dec 14 2018, 7:22 PM
vlorentz accepted this revision.Dec 14 2018, 7:41 PM
This revision is now accepted and ready to land.Dec 14 2018, 7:41 PM
anlambert retitled this revision from [WIP] swh-web: Remove mocks and use hypothesis in service tests to [WIP] Remove mocks and use hypothesis in service tests.Dec 17 2018, 10:42 AM
anlambert updated this revision to Diff 2673.Mon, Dec 17, 4:42 PM

Rebase after D828 update

anlambert updated this revision to Diff 2680.Mon, Dec 17, 5:23 PM

Update: Rebase and use variable to skip ctags test

anlambert updated this revision to Diff 2693.Tue, Dec 18, 2:35 PM

Rebase after D828 update

anlambert edited the summary of this revision. (Show Details)Tue, Dec 18, 3:15 PM
anlambert updated this revision to Diff 2736.Wed, Dec 19, 2:49 PM

Update: rebase to master and process new tests

anlambert planned changes to this revision.Wed, Dec 19, 2:50 PM
anlambert updated this revision to Diff 2738.Wed, Dec 19, 4:02 PM

Update: fix ci build, rebase to master and process more tests

This revision is now accepted and ready to land.Wed, Dec 19, 4:02 PM
anlambert planned changes to this revision.Wed, Dec 19, 4:54 PM
anlambert updated this revision to Diff 2816.Mon, Jan 7, 5:46 PM

Update: Rebase to master, process a lot of new tests

Still a dozen of tests remaining before the landing of that Diff.

This revision is now accepted and ready to land.Mon, Jan 7, 5:46 PM
anlambert planned changes to this revision.Mon, Jan 7, 5:48 PM
anlambert retitled this revision from [WIP] Remove mocks and use hypothesis in service tests to Remove storage mocks and use hypothesis in service tests.Wed, Jan 9, 5:14 PM
anlambert edited the summary of this revision. (Show Details)
anlambert updated this revision to Diff 2858.Wed, Jan 9, 5:15 PM

Update: All storage mocks from the service module tests are now removed \o/

This diff should be ready to land.

This revision is now accepted and ready to land.Wed, Jan 9, 5:15 PM
This revision was automatically updated to reflect the committed changes.