Page MenuHomeSoftware Heritage

Migrate dvcs loader tests code to pytest
Closed, ResolvedPublic

Description

They are hard to maintain (and even read) in their current state.

It's an entangled boil of inherited classes whose perimeter is conflated
together (initialize svn repository, initialize loader with a given state,
etc...).

It's complicated to the point of adding a new scenario about multiple visits
loading scenario is not a simple task [1].

It'd be nice to disentangle this and also aligns with what other loaders are
now using, pytest fixtures!

Event Timeline

ardumont renamed this task from Migrate dvcs loader code to pytest to Migrate dvcs loader tests code to pytest.Jul 6 2020, 1:55 PM
ardumont triaged this task as Normal priority.
ardumont created this task.
ardumont updated the task description. (Show Details)
ardumont closed this task as Resolved.Jul 27 2020, 3:20 PM
ardumont claimed this task.