Skip to content

Commit 97fb79c

Browse files
committed
docs: reorganize API section
1 parent bc1ac78 commit 97fb79c

File tree

1 file changed

+40
-11
lines changed

1 file changed

+40
-11
lines changed

docs/src/index.md

Lines changed: 40 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -166,26 +166,55 @@ Here it is for basic usage!
166166
CurrentModule = ReTest
167167
```
168168

169-
* [`retest`](@ref)
170-
* [`not`](@ref)
171-
* [`interpolated`](@ref)
172-
* [`reachable`](@ref)
173-
* [`depth`](@ref)
169+
* [Defining tests](@ref)
170+
* [Running tests](@ref)
171+
* [Loading tests](@ref)
172+
* [Filtering tests](@ref)
173+
174+
### Defining tests
175+
174176
* [`@testset`](@ref)
175177
* [`@testset_macro`](@ref)
176-
* [`load`](@ref)
178+
179+
```@docs
180+
@testset
181+
@testset_macro
182+
```
183+
184+
### Running tests
185+
186+
* [`retest`](@ref)
177187
* [`watch`](@ref)
178188

179189
```@docs
180190
retest
191+
watch
192+
```
193+
194+
### Loading tests
195+
196+
* [`load`](@ref)
197+
* [`hijack`](@ref)
198+
* [`hijack_base`](@ref)
199+
200+
Cf. [Working with test files which use Test](@ref) for `hijack` and `hijack_base`.
201+
202+
```@docs
203+
load
204+
```
205+
206+
### Filtering tests
207+
208+
* [`not`](@ref)
209+
* [`reachable`](@ref)
210+
* [`interpolated`](@ref)
211+
* [`depth`](@ref)
212+
213+
```@docs
181214
not
182-
interpolated
183215
reachable
216+
interpolated
184217
depth
185-
@testset
186-
@testset_macro
187-
load
188-
watch
189218
```
190219

191220

0 commit comments

Comments
 (0)