towerops/test/snmpkit/snmp_lib/mib
mayor 27950de26e
test: expand MIB.Compiler tests (46.15%)
Added 34 comprehensive tests covering:
- compile_string/2 - String compilation (7 tests)
- compile/2 - File compilation (2 tests)
- Integration with Parser (1 test)
- compile_all/2 - Batch compilation (4 tests)
- load_compiled/1 - Load compiled MIBs (3 tests)
- Compile options (validate, format, output_dir, optimize, etc.) (8 tests)
- Error handling (syntax errors, missing files, parse errors) (3 tests)
- Symbol table construction (2 tests)
- Dependency extraction (deduplication, single/multiple) (4 tests)
- Compiled MIB structure validation (2 tests)

All tests tagged @moduletag :yecc_required (excluded by default).
Tests use temporary directories for file I/O.Coverage: 46.15% (unchanged - tests excluded)
Total tests: 1,514 (all passing, 72 excluded)
2026-02-06 09:12:26 -06:00
..
ast_test.exs Add comprehensive test coverage for SNMPkit modules 2026-02-05 17:03:41 -06:00
compiler_test.exs test: expand MIB.Compiler tests (46.15%) 2026-02-06 09:12:26 -06:00
comprehensive_mib_test.exs snmpkit overhaul and etcd 2026-01-23 16:23:57 -06:00
docsis_mib_test.exs snmpkit overhaul and etcd 2026-01-23 16:23:57 -06:00
error_test.exs test: add comprehensive tests for MIB.Error 2026-02-06 08:38:33 -06:00
logger_test.exs test: add comprehensive tests for PDU.Constants and MIB.Logger 2026-02-06 08:36:20 -06:00
parser_test.exs test: expand MIB.Parser tests (8.66% → 9.96%) 2026-02-06 09:09:28 -06:00
preprocessor_test.exs Add comprehensive test coverage for SNMPkit modules 2026-02-05 17:03:41 -06:00
registry_test.exs bring in snmpkit 2026-01-23 12:52:17 -06:00
snmp_tokenizer_test.exs test: add comprehensive tests for MIB.SnmpTokenizer 2026-02-06 08:45:23 -06:00
utilities_test.exs Add comprehensive test coverage for SNMPkit modules 2026-02-05 17:03:41 -06:00