Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

Testing, examples, docs, CI #63

@killercup

Description

@killercup

While we have compile-tests for the guides and examples, we currently don't really have a good testing story. We have doc tests for the functions we provide, but nothing in regard of integration tests. We should change that.

My idea is this to add full crates to examples/ instead of in-crate binaries.

Each example:

  • has a Cargo.toml, src/main.rs
  • depends on the current quicli version as well as other necessary crates
  • has a tests/integration.rs that uses a crate like assert_cli to actually test that the correct things happen

I propose we do it like this:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions