Skip to content

--cache-dir cli flag #76

@thejchap

Description

@thejchap

Discovery results are persisted in a cache: https://github.com/thejchap/tryke/blob/main/crates/tryke_discovery/src/discoverer.rs#L87

Add the ability to configure the location of the cache directory via a --cache-dir CLI flag, or config option in TrykeConfig https://github.com/thejchap/tryke/blob/main/crates/tryke_config/src/lib.rs#L28

Note: I think this should be a global option/under TrykeConfig, not DiscoveryConfig, as I think the cache dir will be reused for other things (for example caching last-run test results to enable a "rerun last failed" option or something)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: configcrates/tryke_config — pyproject and CLI flag parsingarea: discoverycrates/tryke_discovery — AST parsing, test/fixture discoverygood first issueGood for newcomershelp wantedContributions especially welcomerustPull requests that update rust code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions