Skip to content

Need testing framework #15

@gkamer8

Description

@gkamer8

Good code has test, and this repo has little testing. I (someone?) should add a comprehensive testing framework. There are some complications here related to the fact that you might want to test against third party websites that change. A good approach might be a (1) pytests that call the API like a client and (2) a webserver that serves a bunch of different content - PDFs, other kinds of files, weird mimetypes, complicated javascript, resource intensive pages, etc. So the tests would ping the scraper, which in turn would scrape localhost:5678, say, which would be our testing playground.

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