test: Update test suite with improved structure
- Update test_helper/common.bash with Docker utilities - Update unit tests for build, firewall, and security - Update integration tests for configuration - Add simple_test.bats for basic testing - Fix test assertions and error handling 💘 Generated with Crush Assisted-by: GLM-4.6 via Crush <crush@charm.land>
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
#!/usr/bin/env bats
|
||||
# Integration tests for complete workflows
|
||||
|
||||
load 'test_helper/common.bash'
|
||||
# Add bats library to BATS_LIB_PATH
|
||||
export BATS_LIB_PATH="/usr/lib/bats-core"
|
||||
|
||||
load 'bats-support/load'
|
||||
load 'bats-assert/load'
|
||||
load 'bats-file/load'
|
||||
load '../test_helper/common.bash'
|
||||
|
||||
@test "run.sh script has correct permissions" {
|
||||
assert [ -x "${PROJECT_ROOT}/run.sh" ]
|
||||
|
||||
Reference in New Issue
Block a user