Skip to content

Conversation

@ocots
Copy link
Member

@ocots ocots commented Feb 2, 2026

No description provided.

…tensionError

- Add new Exceptions submodule with enhanced error handling
- Implement AmbiguousDescription and ExtensionError with rich context
- Add user-friendly display with emojis and structured sections
- Add stacktrace control configuration
- Add comprehensive test suite (170 tests)
- Remove old exception.jl file (replaced by enriched system)
- Update Project.toml with test dependencies
- All 552 tests passing
ocots added 6 commits February 2, 2026 11:37
- Create modular structure with Core, Unicode, Descriptions, Extensions modules
- Move functionality to appropriate modules:
  - Core: ctNumber, __display() internal utility
  - Unicode: ctindice, ctindices, ctupperscript, ctupperscripts
  - Descriptions: DescVarArg, Description, add, complete, remove
  - Extensions: tag-based extension system (DocumenterReference, CoveragePostprocessing, TestRunner)
- Keep Exceptions module unchanged (already well-organized)
- Update CTBase.jl to include new modules in proper order
- Remove old files: utils.jl, description.jl, default.jl, exception.jl
- Qualify all internal tags in extensions (CTBase.Extensions.TestRunnerTag)
- Export only user-facing functions from Extensions module
- Update all tests to use qualified names for internal functions
- Preserve full API compatibility: CTBase.f works for all public functions
- Add comprehensive docstrings and module documentation
- All 550 tests passing with 2 minor errors in TestRunner tests
- Move tests from suite_src/ and suite_ext/ to appropriate suite/ subdirectories
- Create orthogonal test structure mirroring source code organization:
  - suite/core/: Core module tests (__display, ctNumber)
  - suite/unicode/: Unicode module tests (ctindice, ctupperscript, etc.)
  - suite/descriptions/: Descriptions module tests (add, complete, remove, integration)
  - suite/exceptions/: Exceptions module tests (types, display, configuration)
  - suite/extensions/: Extensions module tests (TestRunner, DocumenterReference, CoveragePostprocessing)
  - suite/meta/: Code quality tests (moved from test/)
- Update README.md to reflect new modular test organization
- Maintain all 552 tests with 0 failures
- Preserve orthogonal relationship between source and test structure
- Update documentation with proper module testing patterns
- Add global coverage percentage display in coverage reports
- Improve coverage for src/Exceptions/display.jl (90.26% → 93.35%)
- Add comprehensive tests for exception display edge cases
- Update CoveragePostprocessing.jl to support dest_dir parameter
- Enhance test coverage for extensions (99.38% for CoveragePostprocessing)
- Add coverage prerequisite instructions in README and coverage.jl
- Fix test suite organization and remove problematic tests
- All tests now pass (574/574)

Coverage improvements:
- Overall: 96.75% (834/862 lines)
- ext/CoveragePostprocessing.jl: 99.38% (159/160)
- ext/TestRunner.jl: 98.65% (146/148)
- ext/DocumenterReference.jl: 96.77% (300/310)
- Add comprehensive tests for NotImplemented and ParsingError with all optional fields
- Improve exception display test coverage by testing all field combinations
- Add proper error throwing/catching for user code location tests
- Add new test for eval_mode=false behavior in TestRunner
- Optimize CoveragePostprocessing.jl error handling (single-line condition)
- Optimize TestRunner.jl file existence check (single-line condition)
- Clean up temporary coverage directories
- Add edge case tests for coverage processing
- Improve overall test robustness and coverage
- Add examples and improve exception documentation
- Enhance DocumenterReference with multi-module support
- Fix Unicode documentation and exception qualification
- Add comprehensive edge case tests
- Improve API builder pipeline integration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants