Skip to content

We should probably have some proper end-to-end tests #100

@MaddyGuthridge

Description

@MaddyGuthridge

While looking through Tuckr's codebase, I noticed there were very few tests, and there were a few hacks to get testing to work, especially in regards to environment variable fiddling, and even some thread-y hacks.

Testing Tuckr would probably be much simpler and more reliable if we had some end-to-end tests which actually run the compiled executable (preferably in an isolated way to prevent it from breaking systems). I haven't done that sort of thing for any meaningful rust project before, but if you point me towards a preferred framework (I imagine cargo test may not be ideal for end-to-end tests), I'm happy to try writing some.

We should probably also get the tests running in CI to make sure we don't accidentally break stuff.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions