Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Don't force nextest as default test runner (#378)

Maximilian Rooseed145a84823
diff --git a/.config/insta.yaml b/.config/insta.yaml
index 4151c8563..b4c7f2aa4 100644
--- a/.config/insta.yaml
+++ b/.config/insta.yaml
@@ -2,7 +2,6 @@
# https://insta.rs/docs/settings/
test:
- # Use nextest as the test runner
- runner: "nextest"
- # Fall back to cargo-test if nextest is not available
+ # Don't force nextest — its InputHandler can cause SIGTTOU in background process groups.
+ # See tests/common/mod.rs for details. Auto-detection with fallback handles this gracefully.
test_runner_fallback: true
diff --git a/.config/wt.toml b/.config/wt.toml
index 286b77258..97e3194df 100644
--- a/.config/wt.toml
+++ b/.config/wt.toml
@@ -16,7 +16,7 @@ sync = 'if [ "{{ target }}" = "main" ]; then git pull && git push; fi'
[pre-merge]
pre-commit = "if [ -n \"$MSYSTEM\" ]; then SKIP=lychee-system pre-commit run --all-files; else pre-commit run --all-files; fi"
-insta = "RUSTFLAGS='-D warnings' NEXTEST_STATUS_LEVEL=fail NEXTEST_SUCCESS_OUTPUT=never NEXTEST_NO_INPUT_HANDLER=1 cargo insta test --dnd --check --features shell-integration-tests"
+insta = "RUSTFLAGS='-D warnings' NEXTEST_STATUS_LEVEL=fail NEXTEST_SUCCESS_OUTPUT=never NEXTEST_NO_INPUT_HANDLER=1 cargo insta test --test-runner nextest --dnd --check --features shell-integration-tests"
doctest = "RUSTDOCFLAGS='-Dwarnings' cargo test --doc"
doc = "RUSTDOCFLAGS='-Dwarnings' cargo doc --no-deps"
diff --git a/dev/coverage.sh b/dev/coverage.sh
index 882089c8f..9d27afd53 100755
--- a/dev/coverage.sh
+++ b/dev/coverage.sh
@@ -26,8 +26,6 @@ LCOV_PATH="${COVERAGE_DIR}/lcov.info"
mkdir -p "${COVERAGE_DIR}"
# Include shell-integration-tests feature for comprehensive coverage of TUI/PTY code.
-# Set NEXTEST_NO_INPUT_HANDLER to prevent nextest terminal cleanup issues with PTY tests.
-export NEXTEST_NO_INPUT_HANDLER=1
# Run tests once with instrumentation, without generating a report yet.
"${CARGO_BIN[@]}" llvm-cov --locked --workspace --no-report --features shell-integration-tests "$@"