TuringLang / AdvancedHMC.jl

Robust, modular and efficient implementation of advanced Hamiltonian Monte Carlo algorithms
https://turinglang.org/AdvancedHMC.jl/
MIT License
228 stars 39 forks source link

refactor: use ReTest #287

Closed xukai92 closed 2 years ago

xukai92 commented 2 years ago

This PR replaces Test with ReTest (https://juliatesting.github.io/ReTest.jl/stable/) such that we can easily run a subset of tests.

Example

julia --project=@. -e 'using Pkg; Pkg.test(; test_args=ARGS)' "UnitEuclideanMetric/Leapfrog/Trajectory{MultinomialTS,FixedNSteps}/NoAdaptation"

Other benefits of ReTest

Other changes include

xukai92 commented 2 years ago

@yebai This is how the summary looks for test cases with no test: image Note the yellow/orange zeros.

yebai commented 2 years ago

Hi, @xukai92 it looks good!