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
Branch
tests-improvements-diff5
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 3114
Build 3985: tox-on-jenkinsJenkins
Build 3984: arc lint + arc unit

Event Timeline

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

Update: Rebase and use variable to skip ctags test

Update: rebase to master and process new tests

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

This revision is now accepted and ready to land.Dec 19 2018, 4:02 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.Jan 7 2019, 5:46 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.Jan 9 2019, 5:14 PM
anlambert edited the summary of this revision. (Show Details)

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.Jan 9 2019, 5:15 PM
This revision was automatically updated to reflect the committed changes.