You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename full_bar_threshold to progress_bar_threshold
- Renamed `full_bar_threshold` parameter to `progress_bar_threshold` for consistency with new naming scheme
- Renamed `_FULL_BAR_THRESHOLD` constant to `_PROGRESS_BAR_THRESHOLD`
- Updated _bar_width function signature and docstring
- Updated _make_default_on_test_done to use progress_bar_threshold
- Updated _format_progress_line to use progress_bar_threshold
- Updated documentation in test-runner.md parameter table
- Updated BREAKINGS.md with migration note for parameter rename
- Updated CHANGELOGS.md for v0.18.14-beta
- All tests pass (214/214)
Copy file name to clipboardExpand all lines: BREAKINGS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ This document outlines all breaking changes introduced in CTBase v0.18.0-beta co
5
5
## Non-breaking note (0.18.14-beta)
6
6
7
7
-**TestRunner progress display refactoring**: Renamed `progress` parameter to `show_progress_line` for clarity, and added new `show_progress_bar` parameter for granular control. Users with `progress=false` should change to `show_progress_line=false`. Users with `progress=true` (default) can keep using defaults or set `show_progress_line=true, show_progress_bar=false` for minimal display without the graphical bar. No breaking changes; purely parameter rename with backward-compatible defaults. Migration: replace `progress=` with `show_progress_line=`.
8
+
-**Parameter rename**: Renamed `full_bar_threshold` to `progress_bar_threshold` for clarity and consistency with new naming scheme. Users with `full_bar_threshold=` should change to `progress_bar_threshold=`. No breaking changes; purely parameter rename with backward-compatible defaults. Migration: replace `full_bar_threshold=` with `progress_bar_threshold=`.
Copy file name to clipboardExpand all lines: CHANGELOGS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
14
-**Parameter rename**: Renamed `progress` to `show_progress_line` for clearer semantics
15
15
-**Granular control**: Added `show_progress_bar` parameter to control only the graphical bar `[█░░░...]`
16
16
-**Minimal display**: Users can now set `show_progress_line=true, show_progress_bar=false` to display `✓ [01/76] suite/test.jl (0.2s)` without the graphical bar
17
+
-**Parameter rename**: Renamed `full_bar_threshold` to `progress_bar_threshold` for consistency with new naming scheme
17
18
-**Documentation updated**: TestRunner guide updated with new parameter names and examples
18
19
-**Tests updated**: Added tests for `show_progress_bar=false` behavior
Copy file name to clipboardExpand all lines: docs/src/guide/test-runner.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ CTBase.run_tests(;
75
75
|`on_test_done`|`Function` or `nothing`|`nothing`| Callback after eval (see [Callbacks](@ref)) |
76
76
|`show_progress_line`|`Bool`|`true`| Show progress line with symbol, index, spec, and time. Ignored when `on_test_done` is provided |
77
77
|`show_progress_bar`|`Bool`|`true`| Show graphical progress bar `[█░░░...]` within the line |
78
-
|`full_bar_threshold`|`Int`|`100`| Maximum tests for full-resolution progress bar (see [Progress Bar](@ref)) |
78
+
|`progress_bar_threshold`|`Int`|`100`| Maximum tests for full-resolution progress bar (see [Progress Bar](@ref)) |
79
79
80
80
## Writing Test Files
81
81
@@ -156,14 +156,14 @@ The bar width adapts to the number of tests:
156
156
-**≤ 100 tests** (default): width equals the total number of tests (one block per test).
157
157
-**> 100 tests** (default): fixed width of 100 characters. Some tests will not visually advance the bar (the fill is computed as `round(Int, index / total * 100)`).
158
158
159
-
The threshold can be customized via the `full_bar_threshold` parameter:
159
+
The threshold can be customized via the `progress_bar_threshold` parameter:
0 commit comments