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
Update API reference and fix documentation cross-references
- docs/api_reference.jl: Add all missing source files to each module's documentation (Core, Unicode, Extensions, and all extensions)
- docs/src/guide/test-runner.md: Remove invalid @ref to TestRunner.TestRunInfo (not accessible in documentation context)
- ext/TestRunner/entry_point.jl: Remove invalid @ref to TestRunner.TestRunInfo from docstring
- src/Core: Rename utils.jl to default.jl for clarity
Copy file name to clipboardExpand all lines: docs/src/guide/test-runner.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -227,20 +227,20 @@ The progress line is also automatically disabled when a custom `on_test_done` ca
227
227
228
228
## Callbacks
229
229
230
-
The `on_test_start` and `on_test_done` callbacks allow custom actions during the test lifecycle. Both receive a [`TestRunner.TestRunInfo`](@ref) struct.
230
+
The `on_test_start` and `on_test_done` callbacks allow custom actions during the test lifecycle. Both receive a `TestRunInfo` struct with the following fields:
231
231
232
232
### `TestRunInfo`
233
233
234
234
```julia
235
235
struct TestRunInfo
236
-
spec::Union{Symbol,String}# Test identifier
236
+
spec::Union{Symbol,String}# Test identifier
237
237
filename::String# Absolute path of the test file
238
-
func_symbol::Union{Symbol,Nothing}# Function to call (nothing if eval_mode=false)
238
+
func_symbol::Union{Symbol,Nothing}# Function to call (nothing if eval_mode=false)
239
239
index::Int# 1-based index in the selected list
240
240
total::Int# Total number of selected tests
241
241
status::Symbol# See below
242
-
error::Union{Exception,Nothing}# Captured exception (only when status == :error)
243
-
elapsed::Union{Float64,Nothing}# Wall-clock seconds (only in on_test_done)
242
+
error::Union{Exception,Nothing}# Captured exception (only when status == :error)
243
+
elapsed::Union{Float64,Nothing}# Wall-clock seconds (only in on_test_done)
0 commit comments