Adds WEEVIL_HOME-based test isolation so cargo test never touches the real system. All commands run against a fresh TempDir per test. Environment tests cover doctor, uninstall, new, and setup across every combination of missing/present dependencies. Project lifecycle tests cover creation, config persistence, upgrade, and build scripts. Full round-trip lifecycle test: new → gradlew test → gradlew compileJava → uninstall → doctor (unhealthy) → setup → doctor (healthy). Confirms skeleton projects build and pass tests out of the box, and that uninstall leaves user projects untouched. 34 tests, zero warnings.
45 lines
640 B
Plaintext
45 lines
640 B
Plaintext
# Auto detect text files and perform LF normalization
|
|
* text=auto
|
|
|
|
# Rust source files
|
|
*.rs text diff=rust
|
|
|
|
# Cargo files
|
|
Cargo.toml text diff=toml
|
|
Cargo.lock text diff=toml
|
|
|
|
# Shell scripts
|
|
*.sh text eol=lf
|
|
|
|
# Windows scripts
|
|
*.bat text eol=crlf
|
|
*.cmd text eol=crlf
|
|
*.ps1 text eol=crlf
|
|
|
|
# Documentation
|
|
*.md text diff=markdown
|
|
*.txt text
|
|
|
|
# Archives
|
|
*.gz binary
|
|
*.zip binary
|
|
*.tar binary
|
|
*.7z binary
|
|
|
|
# Images
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.gif binary
|
|
*.ico binary
|
|
*.svg text
|
|
|
|
# Test fixtures
|
|
.gitkeep text
|
|
tests/fixtures/mock-android-sdk/platform-tools/adb binary
|
|
|
|
# Fonts
|
|
*.ttf binary
|
|
*.otf binary
|
|
*.woff binary
|
|
*.woff2 binary |