Skip to content

Commit 036dc88

Browse files
committed
chore: enrich/update .env.example
1 parent a92b0ff commit 036dc88

File tree

1 file changed

+60
-13
lines changed

1 file changed

+60
-13
lines changed

.env.example

Lines changed: 60 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,60 @@
1-
BASHUNIT_DEFAULT_PATH=
2-
BASHUNIT_DEV_LOG=
3-
BASHUNIT_BOOTSTRAP=
4-
BASHUNIT_LOG_JUNIT=
5-
BASHUNIT_REPORT_HTML=
6-
7-
# Booleans
8-
BASHUNIT_PARALLEL_RUN=
9-
BASHUNIT_SHOW_HEADER=
10-
BASHUNIT_HEADER_ASCII_ART=
11-
BASHUNIT_SIMPLE_OUTPUT=
12-
BASHUNIT_STOP_ON_FAILURE=
13-
BASHUNIT_SHOW_EXECUTION_TIME=
1+
################################################################################
2+
# bashunit Configuration
3+
# Copy this file to .env and customize as needed
4+
# All values shown are defaults (leave empty to use default)
5+
################################################################################
6+
7+
#───────────────────────────────────────────────────────────────────────────────
8+
# Test Discovery
9+
#───────────────────────────────────────────────────────────────────────────────
10+
BASHUNIT_DEFAULT_PATH= # Default: tests
11+
BASHUNIT_BOOTSTRAP= # Default: tests/bootstrap.sh
12+
BASHUNIT_BOOTSTRAP_ARGS= # Arguments passed to bootstrap script
13+
14+
#───────────────────────────────────────────────────────────────────────────────
15+
# Output Display
16+
#───────────────────────────────────────────────────────────────────────────────
17+
BASHUNIT_SHOW_HEADER= # Default: true
18+
BASHUNIT_HEADER_ASCII_ART= # Default: false
19+
BASHUNIT_SIMPLE_OUTPUT= # Default: false (use dots instead of test names)
20+
BASHUNIT_VERBOSE= # Default: false (show environment variables)
21+
BASHUNIT_NO_OUTPUT= # Default: false (suppress all output)
22+
BASHUNIT_SHOW_EXECUTION_TIME= # Default: true
23+
BASHUNIT_SHOW_SKIPPED= # Default: false (show skipped test details)
24+
BASHUNIT_SHOW_INCOMPLETE= # Default: false (show incomplete test details)
25+
BASHUNIT_FAILURES_ONLY= # Default: false (only show failures)
26+
BASHUNIT_NO_COLOR= # Default: false (disable colors)
27+
28+
#───────────────────────────────────────────────────────────────────────────────
29+
# Test Execution
30+
#───────────────────────────────────────────────────────────────────────────────
31+
BASHUNIT_PARALLEL_RUN= # Default: false
32+
BASHUNIT_STOP_ON_FAILURE= # Default: false (stop suite on first failure)
33+
BASHUNIT_STOP_ON_ASSERTION_FAILURE= # Default: true (stop test on first assertion fail)
34+
BASHUNIT_STRICT_MODE= # Default: false (enable set -euo pipefail)
35+
BASHUNIT_LOGIN_SHELL= # Default: false (source login shell profiles)
36+
37+
#───────────────────────────────────────────────────────────────────────────────
38+
# Reports
39+
#───────────────────────────────────────────────────────────────────────────────
40+
BASHUNIT_LOG_JUNIT= # JUnit XML report path (e.g., report.xml)
41+
BASHUNIT_REPORT_HTML= # HTML test report path (e.g., report.html)
42+
43+
#───────────────────────────────────────────────────────────────────────────────
44+
# Code Coverage
45+
#───────────────────────────────────────────────────────────────────────────────
46+
BASHUNIT_COVERAGE= # Default: false
47+
BASHUNIT_COVERAGE_PATHS= # Default: src/ (comma-separated paths to track)
48+
BASHUNIT_COVERAGE_EXCLUDE= # Default: tests/*,vendor/*,*_test.sh,*Test.sh
49+
BASHUNIT_COVERAGE_REPORT= # Default: coverage/lcov.info
50+
BASHUNIT_COVERAGE_REPORT_HTML= # HTML coverage report directory (e.g., coverage/html)
51+
BASHUNIT_COVERAGE_MIN= # Minimum coverage % (fails if below)
52+
BASHUNIT_COVERAGE_THRESHOLD_LOW= # Default: 50 (red below this)
53+
BASHUNIT_COVERAGE_THRESHOLD_HIGH=# Default: 80 (green above this)
54+
55+
#───────────────────────────────────────────────────────────────────────────────
56+
# Advanced / Debug
57+
#───────────────────────────────────────────────────────────────────────────────
58+
BASHUNIT_DEV_LOG= # Developer log file path
59+
BASHUNIT_BENCH_MODE= # Default: false (benchmark mode)
60+
BASHUNIT_INTERNAL_LOG= # Default: false (internal debug logging)

0 commit comments

Comments
 (0)