DiffOpt.jl icon indicating copy to clipboard operation
DiffOpt.jl copied to clipboard

put tests into functions

Open joaquimg opened this issue 4 years ago • 2 comments

joaquimg avatar Jun 21 '21 05:06 joaquimg

why particularly in functions? Are there some of these we would reuse?

matbesancon avatar Jun 21 '21 07:06 matbesancon

He means like this: https://github.com/jump-dev/MathOptInterface.jl/blob/master/test/functions.jl

The nested testset approach of Julia is pretty sub-optimal. These functions are much nicer to write, are more self-contained, and we can easily extend to new tools that run in parallel or on a subset of the tests (e.g., Pukeko.jl).

odow avatar Jun 21 '21 08:06 odow