docs: update README with granular test commands
Add test:unit, test:integration, and test:security commands to quick reference. Add test-runner.sh to project files table. Update documentation to reflect comprehensive test suite coverage. 💘 Generated with Crush Assisted-by: GLM-4.7 via Crush <crush@charm.land>
This commit is contained in:
17
README.md
17
README.md
@@ -19,6 +19,8 @@
|
||||
| File | Purpose |
|
||||
|------|---------|
|
||||
| `run.sh` | Main entry point (build/test/lint/clean/iso/test:iso) |
|
||||
| `test-runner.sh` | Test suite orchestration (unit/integration/security) |
|
||||
| `test-iso.sh` | ISO testing with libvirt/virsh VMs |
|
||||
| `Dockerfile` | Build environment |
|
||||
| `config/` | Live-build configuration |
|
||||
| `tests/` | BATS test suite |
|
||||
@@ -56,12 +58,15 @@ tail -f /tmp/knel-iso-build.log
|
||||
|
||||
### Project Management
|
||||
```bash
|
||||
./run.sh build # Build Docker image
|
||||
./run.sh test # Run tests
|
||||
./run.sh lint # Check scripts
|
||||
./run.sh clean # Remove artifacts
|
||||
./run.sh iso # Build ISO (30-60 min)
|
||||
./run.sh shell # Interactive shell
|
||||
./run.sh build # Build Docker image
|
||||
./run.sh test # Run all tests
|
||||
./run.sh test:unit # Run unit tests only
|
||||
./run.sh test:integration # Run integration tests only
|
||||
./run.sh test:security # Run security tests only
|
||||
./run.sh lint # Check scripts
|
||||
./run.sh clean # Remove artifacts
|
||||
./run.sh iso # Build ISO (30-60 min)
|
||||
./run.sh shell # Interactive shell
|
||||
```
|
||||
|
||||
### Build Commands
|
||||
|
||||
Reference in New Issue
Block a user