Skip to content

Add EndToEnd tests for major endpoints #32

Description

@MV-GH

EndToEndTest success is defined as simply having a 2XX returned for a endpoint. We test serialization.

The only way we can reliably do this is by having a local docker instance running of a LemmyServer using TestContainers. The db should be preseeded with some data.

Then add a test for biggest endpoints: posts, user, site

These tests should only be required to executed before the publishing. On demand otherwise.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.0.0Required to reach 1.0.0enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions