원클릭으로
test
Run the VAK test suite including unit tests, integration tests, property-based tests, and benchmarks.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run the VAK test suite including unit tests, integration tests, property-based tests, and benchmarks.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Instructions for building the VAK project including Rust, WASM skills, and Python bindings.
WASM skill providing basic arithmetic operations for VAK agents.
WASM skill providing cryptographic hashing operations for VAK agents.
WASM skill providing JSON validation and manipulation for VAK agents.
WASM skill providing pattern matching operations for VAK agents.
Instructions for releasing and publishing the VAK project to crates.io and PyPI.
| name | test |
| description | Run the VAK test suite including unit tests, integration tests, property-based tests, and benchmarks. |
This skill provides instructions for running tests to verify the correctness and performance of the VAK project.
| ID | Feature | Status | Notes |
|---|---|---|---|
| TST-001 | Infinite Loop Preemption Tests | 🟡 Partial | Basic tests in preemption_tests.rs |
| TST-002 | Memory Containment Tests | ⏳ Pending | Pooling allocator ready |
| TST-003 | Policy Verification Tests | 🟡 Partial | Cedar tests in test_cedar_policy.rs |
| TST-004 | Integration Test Coverage | ✅ Complete | Full workflow tests |
| TST-005 | Benchmark Suite Expansion | ⏳ Pending | Basic benchmarks exist |
| TST-006 | Python SDK Tests | ⏳ Pending | Foundation exists |
#[test] in src/ modulestests/integration/
mod.rs - Test module setuppreemption_tests.rs - Epoch/timeout preemption (RT-006)test_audit_integrity.rs - Audit chain verificationtest_cedar_policy.rs - Cedar policy enforcementtest_full_workflow.rs - End-to-end workflowstest_kernel_workflow.rs - Kernel operationstest_policy_enforcement.rs - ABAC enforcementpython/tests/
test_kernel.py - Kernel bindingstest_types.py - Type conversionstest_integration.py - Python integrationtest_code_auditor.py - Code auditor testsproptest based tests (run with --release)benches/
kernel_benchmarks.rs - Kernel performanceaudit_benchmarks.rs - Audit logging performancecargo-nextest (optional, for faster execution): cargo install cargo-nextestpytest (pip install pytest pytest-asyncio pytest-cov)cargo-tarpaulin (cargo install cargo-tarpaulin)cargo test
cargo test --test '*'
# Policy enforcement tests
cargo test --test test_policy_enforcement
# Cedar policy tests
cargo test --test test_cedar_policy
# Preemption tests
cargo test --test preemption_tests
# Full workflow tests
cargo test --test test_full_workflow
Property tests are CPU-intensive; run in release mode:
cargo test --release prop_
# All Python tests
pytest python/tests/
# Specific test file
pytest python/tests/test_kernel.py
# With verbose output
pytest python/tests/ -v
# All benchmarks
cargo bench
# Specific benchmark
cargo bench --bench kernel_benchmarks
cargo bench --bench audit_benchmarks
# Rust coverage
cargo tarpaulin --out Html --output-dir coverage/
# Python coverage
pytest --cov=vak --cov-report=html python/tests/
cargo test --lib
cargo test test_function_name
cargo test -- --nocapture
cargo test -- --ignored
cargo nextest run
cargo test and pytest pass.--release for property tests: Property tests can be slow in debug mode.