Skip to content

Commit a56196c

Browse files
authored
Reminder to exclude tests for unsupported features (#1302)
Initially, I had assumed that if my solver implements `supports(feature) = false`, the relevant tests would be skipped automatically. Instead, they are typically failing, since the tests contain `@assert supports(feature)`.
1 parent 6233386 commit a56196c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/src/submodules/Test/overview.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ so that all solvers can benefit.
2020
## How to test a solver
2121

2222
The skeleton below can be used for the wrapper test file of a solver named
23-
`FooBar`. Remove unnecessary tests as appropriate.
23+
`FooBar`. Remove unnecessary tests as appropriate, for example tests for
24+
features that the solver does not support (tests are not skipped depending
25+
on the value of `supports`).
2426

2527
```julia
2628
# ============================ /test/MOI_wrapper.jl ============================

0 commit comments

Comments
 (0)