Skip to content

Remove tests/datamodules #978

Open
Open
@adamjstewart

Description

@adamjstewart

Summary

I would like to remove (almost) all tests in tests/datamodules and replace them with new tests in tests/trainers that actually ensure our datamodules and trainers are compatible.

Rationale

The current tests simply ensure that the data loaders don't crash. They don't actually test that the datamodules are compatible with our trainers.

Implementation

The bulk of these have already been converted in #329. The remaining tests are:

Alternatives

We may end up keeping some of these that test invalid arguments. The important thing is not that we don't test datamodules standalone, but that we test them with trainers whenever possible.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    datamodulesPyTorch Lightning datamodulestestingContinuous integration testing

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions