towerops/test
mayor b42ac8f999
Expand PDU.V3Encoder tests (22 new tests)
Improve coverage from 37.97% to 40.64% with tests for:
- PDU types in SNMPv3 messages (get_next, get_response, set, getbulk)
- Context engine ID and context name (empty, non-empty, both)
- Message max size variations (minimum 484, custom values)
- Multiple varbinds in v3 messages
- Error responses with various error_status values (0-5)
- Reportable flag variations (true/false)
- USM security model
- All SNMP value types (counter64, gauge32, ip_address, opaque, oid)
- Exception values (no_such_object, no_such_instance, end_of_mib_view)
- Message ID edge cases (0, max 2147483647)
- Discovery message consistency

Tests verify message encoding completes without crashes
even when V3 security processing is involved.

Coverage: 1,391 → 1,419 tests, all passing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-06 08:57:48 -06:00
..
integration make devices site optional and many test fix 2026-02-04 15:05:42 -06:00
mix/tasks more tests 2026-02-03 10:19:56 -06:00
snmpkit Expand PDU.V3Encoder tests (22 new tests) 2026-02-06 08:57:48 -06:00
support Add comprehensive tests for API authentication and authorization 2026-02-05 16:39:01 -06:00
towerops fix test warnings and failures 2026-02-05 15:24:41 -06:00
towerops_web Add comprehensive tests for API authentication and authorization 2026-02-05 16:39:01 -06:00
test_helper.exs complete overhaul of snmp engine to C nif 2026-01-30 12:27:12 -06:00
towerops_native_test.exs complete overhaul of snmp engine to C nif 2026-01-30 12:27:12 -06:00