towerops/test/snmpkit/snmp_lib
mayor 055bef4cd7
Add comprehensive tests for MIB module (45 tests)
Create new test file for MIB facade module with tests for:
- compile/2 (16 tests) - file paths, all options, error handling
- compile_string/2 (11 tests, @tag :yecc_required) - MIB content parsing
- load_compiled/1 (7 tests) - loading compiled MIB files
- compile_all/2 (13 tests) - batch compilation with dependency order
- Option validation (3 tests) - handling invalid option keys
- Return value structure (4 tests) - tuple format verification
- Error handling (4 tests) - graceful handling of invalid inputs
- Default options (3 tests) - behavior with and without options

Tests verify proper delegation to Compiler module and
correct error handling for file operations.

Note: compile_string tests tagged with :yecc_required since
they depend on yecc parser generator being available.

Coverage: 1,419 → 1,464 tests, 45 passing

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-06 09:01:49 -06:00
..
mib test: add comprehensive tests for MIB.SnmpTokenizer 2026-02-06 08:45:23 -06:00
pdu Expand PDU.V3Encoder tests (22 new tests) 2026-02-06 08:57:48 -06:00
asn1_test.exs snmp tests and docker attempt to build locally 2026-01-27 10:16:54 -06:00
cache_test.exs bring in snmpkit 2026-01-23 12:52:17 -06:00
config_test.exs bring in snmpkit 2026-01-23 12:52:17 -06:00
dashboard_test.exs bring in snmpkit 2026-01-23 12:52:17 -06:00
decoder_long_length_test.exs snmpkit overhaul and etcd 2026-01-23 16:23:57 -06:00
error_handler_test.exs Add comprehensive test coverage for SNMPkit modules 2026-02-05 17:03:41 -06:00
error_test.exs bring in snmpkit 2026-01-23 12:52:17 -06:00
host_parser_test.exs Fix SNMPkit tests and add coverage for bang methods 2026-02-05 16:46:36 -06:00
manager_test.exs more tests and fixes 2026-01-31 16:00:07 -06:00
mib_test.exs Add comprehensive tests for MIB module (45 tests) 2026-02-06 09:01:49 -06:00
monitor_test.exs Add comprehensive test coverage for SNMPkit modules 2026-02-05 17:03:41 -06:00
oid_test.exs more tests and fixes 2026-01-31 16:00:07 -06:00
pdu_test.exs more tests and fixes 2026-01-31 16:00:07 -06:00
pool_test.exs bring in snmpkit 2026-01-23 12:52:17 -06:00
security_test.exs bring in snmpkit 2026-01-23 12:52:17 -06:00
snmpv3_edge_cases_test.exs credo improvements 2026-01-23 13:40:49 -06:00
snmpv3_integration_test.exs improve credo 2026-01-23 18:21:40 -06:00
transport_test.exs more tests and fixes 2026-01-31 16:00:07 -06:00
types_test.exs test: expand Types module test coverage 2026-02-05 17:24:10 -06:00
utils_test.exs bring in snmpkit 2026-01-23 12:52:17 -06:00
walker_test.exs bring in snmpkit 2026-01-23 12:52:17 -06:00