Simplify the Audita integration tests
This commit is contained in:
19
README.md
19
README.md
@@ -83,19 +83,20 @@ production convergence.
|
||||
## Validation
|
||||
|
||||
The integration driver installs pinned collection dependencies, runs syntax
|
||||
checking and ansible-lint, verifies the default release, file ownership and
|
||||
modes, executable behavior, and native configuration validation. It covers
|
||||
missing-binary and checkout rebuilds, caller-supplied Go with dependency
|
||||
management disabled, metadata repair without rebuilding, representative
|
||||
field-specific configuration rendering, explicitly selected falsey values,
|
||||
restoration to the minimal default configuration, and platform failures before
|
||||
isolated application state exists.
|
||||
checking and ansible-lint, and validates the default configuration with Audita
|
||||
before requiring clean repeated convergence. It also covers one representative
|
||||
field-specific configuration with nested values, null omission, and intentional
|
||||
falsey values, then validates it natively. A combined recovery scenario proves
|
||||
that a missing binary is rebuilt with a caller-supplied Go executable while
|
||||
dependency management is disabled. Audita currently has no native
|
||||
release-identity command, so the suite intentionally does not use a source
|
||||
commit as a version-test proxy.
|
||||
On a fresh host, default convergence may also install Git through APT, refresh
|
||||
the APT cache, and install the Go Snap. Application state is limited to
|
||||
`/usr/local/src/audita`, `/usr/local/bin/audita`, and
|
||||
`/usr/local/etc/audita/config.yml`; temporary test-specific files remain inside
|
||||
the suite's private temporary directory. The suite leaves the default release
|
||||
and configuration installed:
|
||||
the suite's private temporary directory. The suite restores the default
|
||||
deployment during cleanup:
|
||||
|
||||
```sh
|
||||
tests/integration
|
||||
|
||||
Reference in New Issue
Block a user