Page MenuHomeSoftware Heritage

docker/conftest: Speedup pytest based tests execution
ClosedPublic

Authored by anlambert on Apr 9 2020, 6:18 PM.

Details

Summary

Use session scoped fixtures to avoid executing expensive docker
operations multiple times.

Tests execution is about 4 times faster now.

Diff Detail

Repository
rDENV Development environment
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.