Skip to content

Add features to TestRunner#413

Merged
ocots merged 12 commits intodevelopfrom
feature/testrunner
Feb 9, 2026
Merged

Add features to TestRunner#413
ocots merged 12 commits intodevelopfrom
feature/testrunner

Conversation

@ocots
Copy link
Copy Markdown
Member

@ocots ocots commented Feb 9, 2026

No description provided.

ocots added 3 commits February 9, 2026 21:20
- Add TestRunInfo struct with test execution context
- Add on_test_start and on_test_done callbacks to run_tests
- Integrate callbacks in _run_single_test with skip capability
- Add comprehensive tests for callback functionality
- Improve glob patterns: bare directory paths auto-expand to dir/*
- Add _normalize_selections for better pattern matching
- Support trailing slashes in directory selections
- Add 14 new tests covering all new functionality
…ailure detection

- Implement adaptive progress bar width: ≤20 tests → width=total, >20 tests → fixed width=20
- Fix @test failure detection via before/after results scan instead of unreliable anynonpass
- Revert to █ character for visual consistency (no gaps between blocks)
- Add comprehensive progress bar visualization tools in test/extras/progress/
- Update all tests (175 passing) and shorten long testset names for readability
- Progress bar now correctly shows ✗ FAILED for both exceptions and @test failures
ocots added 9 commits February 9, 2026 23:01
- Strip 'test/' prefix from test arguments so users can write 'test/suite' or 'suite' interchangeably
- Add guard to prevent 'test/' subdirectory inside test_dir (conflict with prefix stripping)
- Add comprehensive documentation covering all TestRunner features:
  * Progress bar with adaptive width and @test failure detection
  * Callbacks system with TestRunInfo struct
  * Path prefix stripping and CLI flags
  * Complete keyword arguments table
  * Advanced glob matching details
- Add tests for _strip_test_prefix and prefix stripping in _parse_test_args
- Fix markdown lint warnings in documentation
- Fix all @ref TestRunInfo references to use fully qualified names to resolve header conflicts
- Add comprehensive docstrings for all TestRunner functions following project standards
- Reorganize API documentation: use src/api/ subdirectory instead of api_ prefixed files
- Update all API reference generation to use subdirectory="api" and clean filenames
- Remove old API files with api_ prefix
- Move user guide files from src/ to src/guide/ for better organization
- Update make.jl to use joinpath for guide file paths
- Update index.md to reference new guide locations
- Change section name from 'Tutorials' to 'User Guides' for clarity
- Clean separation: src/guide/ for user docs, src/api/ for API reference
- Fix cleanup function to use docs/src as base directory instead of docs/src/api
- Extract _cleanup_pages as standalone function following CTSolvers pattern
- Ensure generated API files in src/api/ are properly deleted after build
- Remove stale API files that weren't being cleaned up
- Add comprehensive v0.18.0-beta.1 changelog entry with TestRunner enhancements
- Document advanced progress bar system with adaptive width
- Document robust failure detection mechanism
- Document path prefix stripping and directory protection
- Document callback system overhaul with TestRunInfo context
- Document professional documentation improvements
- Add TestRunner section to BREAKINGS.md with migration examples
- Update table of contents to include TestRunner enhancements
- Update Project.toml version to 0.18.0-beta.1
- Complete CHANGELOGS.md and BREAKINGS.md updates
- All TestRunner enhancements documented with migration examples
- Ready for release
@ocots ocots merged commit ceeac88 into develop Feb 9, 2026
9 checks passed
@ocots ocots deleted the feature/testrunner branch February 9, 2026 22:28
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.

1 participant