towerops/test/snmpkit
mayor 14ec708e93
Add comprehensive tests for PDU.Encoder (87 tests)
Improve coverage from 43.82% to 75.84% with tests for:
- Message encoding (SNMPv1, v2c, v3 delegation)
- PDU encoding (all PDU types: get, getnext, response, set, getbulk)
- Varbind encoding (explicit types, auto types, all SNMP value types)
- Integer encoding edge cases (zero, small, large, negative)
- Counter32/Gauge32/Timeticks (min/max values)
- Counter64 (0 to 18446744073709551615)
- String encoding (empty, short, long, special chars, binary)
- OID encoding (simple, large subids, very large subids, long OIDs)
- Bulk request encoding (non_repeaters, max_repetitions)
- Exception values (no_such_object, no_such_instance, end_of_mib_view)
- Length encoding edge cases (short, medium, long form)
- Error handling (invalid formats, missing fields)
- Complete integration tests (GET/GETNEXT/SET/GETBULK)

Coverage: 1,304 → 1,391 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:53:52 -06:00
..
snmp_lib Add comprehensive tests for PDU.Encoder (87 tests) 2026-02-06 08:53:52 -06:00
snmp_mgr more tests 2026-02-03 10:43:30 -06:00
api_standardization_test.exs bring in snmpkit 2026-01-23 12:52:17 -06:00
oid_architecture_validation_test.exs bring in snmpkit 2026-01-23 12:52:17 -06:00
snmp_mgr_integration_test.exs more tests 2026-01-26 11:01:47 -06:00
snmp_test.exs test cleanup 2026-01-28 10:31:22 -06:00
snmpkit_test.exs Fix SNMPkit tests and add coverage for bang methods 2026-02-05 16:46:36 -06:00
test_helper.exs bring in snmpkit 2026-01-23 12:52:17 -06:00