Skip to content

Add integration and/or e2e tests #167

@joegoldbeck

Description

@joegoldbeck

There's an increasing about of logic in main.py, which is not tested. For now, we're using /r/WPBSandbox to test things out, but we should add some real integration tests (perhaps mocking out praw and pushshift and confirming appropriate behavior), and even also some e2e tests which assume certain state in /r/WPBSandbox.

The e2e tests would be nice because we'd really know everything is working, but the downside is that they would require reddit credentials to run and they could potentially break due to changes in the content of the subreddit, so they'd be a little brittle in that way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions