Skip to content

Move towards pytest style tests #4193

@jdufresne

Description

@jdufresne

Is the project interested in moving to use pytest conventions? This would mean something of the lines:

  • Use assert instead of unittest assert methods
  • Removing unittest classes
  • Using fixtures for stdout/stderr capturing, temporary files, and more (and perhaps some internal ones too.)
  • Using parameterized tests?

If so, I can help out here and there. As there are quite a lot of tests, it might make sense to this on a file by file basis or in pieces.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions