Skip to content

Commit 0cb61a0

Browse files
committed
Add exhaustive pytest test suite with 169 tests covering all modules
Tests cover: ResponseService (response planning, fact filtering, PID tracking, operation lifecycle), ProcessNode/ProcessTree (tree operations, parent/child traversal, PID-to-GUID mapping, store dedup), all 8 parsers (basic_strip, childprocess, ecs_sysmon, key_value, ports, process, processguids, sysmon), all 4 requirements (base_requirement, basic, has_property, source_fact), and hook.py (metadata, enable, expansion). Includes pytest.ini, tox.ini, and a conftest.py with lightweight framework stubs enabling isolated testing without the full Caldera installation.
1 parent a32550b commit 0cb61a0

21 files changed

+2042
-0
lines changed

pytest.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[pytest]
2+
testpaths = tests
3+
asyncio_mode = auto
4+
markers =
5+
asyncio: mark a test as an asyncio coroutine

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)