-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.ps1
More file actions
25 lines (18 loc) · 893 Bytes
/
test.ps1
File metadata and controls
25 lines (18 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Secparse Windows Certification Script
# Verifies the entire ecosystem against the testing artifacts
$ErrorActionPreference = "Stop"
Write-Host "--- Starting Secparse Certification (Windows) ---" -ForegroundColor Cyan
# 1. Clean and Build
Write-Host "[1/4] Building Workspace..." -ForegroundColor Yellow
cargo build --release
# 2. Run Unit & Integration Tests
Write-Host "[2/4] Running Library Tests..." -ForegroundColor Yellow
cargo test --workspace
# 3. Verify CLI - Ingest
Write-Host "[3/4] Testing CLI Ingest..." -ForegroundColor Yellow
# We'll use a sample nmap output if available, or just verify the help
./target/release/secparse-cli ingest --help | Out-Null
# 4. Verify CLI - Pipeline
Write-Host "[4/4] Testing CLI Pipeline..." -ForegroundColor Yellow
./target/release/secparse-cli pipeline --help | Out-Null
Write-Host "`n--- Certification PASSED ---" -ForegroundColor Green