Skip to content

Commit

Permalink
Include all exported functions in Test.jl documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf authored and vtjnash committed Apr 21, 2021
1 parent 33e9d37 commit 0bd28b8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/src/base/base.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ Core.Module
Core.Function
Base.hasmethod
Core.applicable
Base.isambiguous
Core.invoke
Base.@invoke
Base.invokelatest
Expand Down
13 changes: 13 additions & 0 deletions stdlib/Test/docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ or could not be evaluated due to an error, the test set will then throw a `TestS

```@docs
Test.@testset
Test.TestSetException
```

We can put our tests for the `foo(x)` function in a test set:
Expand Down Expand Up @@ -295,6 +296,18 @@ And using that testset looks like:
end
```

## Test utilities

```@docs
Test.GenericArray
Test.GenericDict
Test.GenericOrder
Test.GenericSet
Test.GenericString
Test.detect_ambiguities
Test.detect_unbound_args
```

```@meta
DocTestSetup = nothing
```

0 comments on commit 0bd28b8

Please sign in to comment.