Visitar URL original
GitHub - wyeworks/prevtest: Test caching solution for nextest · GitHub
Skip to content
wyeworksPublic

About

Test caching solution for nextest

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

prevtest

prevtest (previous test) is a test caching solution for nextest.

Status

Work in progress.

The main proposal is described in the high-level design document.

The repo currently contains an early implementation of the first increment, still missing the file hashing shortcut, signal handling, integration tests, etc.

Installation

From this crate's directory:

cargo install --path . --locked

Usage

Add this to your project's .config/nextest.toml:

experimental = ["wrapper-scripts"]

[scripts.wrapper.prevtest]
command = "prevtest"
target-runner = "overrides-wrapper"

[[profile.default.scripts]]
filter = "all()"
run-wrapper = "prevtest"

Then run:

cargo nextest run

Set PREVTEST_FORCE=1 to force test execution while still updating the cache.

About

Test caching solution for nextest

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages