Modern QA2026Essential .gitignore for QA Projects — tiles
Log inJoin
50 / 57 · 17 Git & Version Control · Gitignore and Practical Tips← prev⊞ allnext →☰ Read as one page

7.2Essential .gitignore for QA Projects

# Test results and reports
test-results/
playwright-report/
coverage/
allure-results/
allure-report/
junit-results/
*.xml.bak

# Screenshots and videos from test runs
screenshots/
videos/
*.png
!src/assets/*.png     # Keep intentional assets (note the negation)

# Playwright traces
traces/
*.zip

# Environment and secrets
.env
.env.local
.env.*.local
*.pem
*.key
credentials.json
service-account.json

# IDE and OS files
.idea/
.vscode/settings.json   # Keep shared settings, ignore personal ones
.DS_Store
Thumbs.db

# Dependencies
node_modules/
__pycache__/
*.pyc
.venv/
venv/

# Build artifacts
dist/
build/
*.tsbuildinfo

# Temporary files
tmp/
temp/
*.tmp
*.swp