Skip to content

test: convert pytest-style tests to dir_helpers fixtures #2896

@Suor

Description

@Suor

This is a continuation of #2837.

This might be done on a per module basis to get a taste of it, leave a comment here if you are migrating particular test module to prevent double effort. I will convert whatever is not done by the end of the sprint.

So @MrOutis, @pared, @efiop, this goes after loose ends are closed as we agreed on planning. Ping me here if you have issues with any new fixtures.

When this is done, someone should kill chimera pytest fixtures in conftest.py: repo_dir, git, dvc_repo, erepo, git_erepo. temporary_windows_drive should be inlined or moved closer to its usage.

  • migrate old pytest-style tests
  • kill chimera fixtures
  • inline or move temporary_windows_drive, stop using repo_dir there

Metadata

Metadata

Labels

enhancementEnhances DVCp2-mediumMedium priority, should be done, but less importantrefactoringFactoring and re-factoringtestingRelated to the tests and the testing infrastructure

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions