-
Notifications
You must be signed in to change notification settings - Fork 0
--cache-dir cli flag #76
Copy link
Copy link
Open
Labels
area: configcrates/tryke_config — pyproject and CLI flag parsingcrates/tryke_config — pyproject and CLI flag parsingarea: discoverycrates/tryke_discovery — AST parsing, test/fixture discoverycrates/tryke_discovery — AST parsing, test/fixture discoverygood first issueGood for newcomersGood for newcomershelp wantedContributions especially welcomeContributions especially welcomerustPull requests that update rust codePull requests that update rust code
Metadata
Metadata
Assignees
Labels
area: configcrates/tryke_config — pyproject and CLI flag parsingcrates/tryke_config — pyproject and CLI flag parsingarea: discoverycrates/tryke_discovery — AST parsing, test/fixture discoverycrates/tryke_discovery — AST parsing, test/fixture discoverygood first issueGood for newcomersGood for newcomershelp wantedContributions especially welcomeContributions especially welcomerustPull requests that update rust codePull requests that update rust code
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-dirCLI flag, or config option inTrykeConfighttps://github.com/thejchap/tryke/blob/main/crates/tryke_config/src/lib.rs#L28Note: I think this should be a global option/under
TrykeConfig, notDiscoveryConfig, 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)