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

Re-organise tests.

Open yebai opened this issue 1 year ago • 4 comments

This PR makes it easy to run each test file individually locally:

shell> pwd
/Users/hg344/projects/Turing.jl

(test) pkg> activate test
  Activating project at `~/projects/Turing.jl/test`

julia> using Turing; include(pkgdir(Turing)*"/test/test_utils/test_utils.jl")

julia> include("test/modes/OptimInterface.jl")

This PR doesn't contain any functionality changes.

yebai avatar Jul 31 '23 18:07 yebai

@torfjelde Your workflow is much better! However, it is helpful to introduce a simple way to achieve a similar objective. Hence this PR.

yebai avatar Jul 31 '23 19:07 yebai

However, it is helpful to introduce a simple way to achieve a similar objective. Hence this PR.

Fair! But do we need to also remove all the files in the process? As in, why not just use include but add a single file that contains all these?

torfjelde avatar Jul 31 '23 19:07 torfjelde

Pull Request Test Coverage Report for Build 5719263514

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 0.0%

Totals Coverage Status
Change from base Build 5718410481: 0.0%
Covered Lines: 0
Relevant Lines: 1463

💛 - Coveralls

coveralls avatar Jul 31 '23 22:07 coveralls

Codecov Report

Patch and project coverage have no change.

Comparison is base (e22b77c) 0.00% compared to head (570fee5) 0.00%. Report is 1 commits behind head on master.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #2058   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files          21      21           
  Lines        1447    1447           
======================================
  Misses       1447    1447           
Files Changed Coverage Δ
src/Turing.jl 0.00% <ø> (ø)
src/mcmc/Inference.jl 0.00% <ø> (ø)
src/mcmc/abstractmcmc.jl 0.00% <ø> (ø)
src/mcmc/emcee.jl 0.00% <ø> (ø)
src/mcmc/ess.jl 0.00% <ø> (ø)
src/mcmc/gibbs.jl 0.00% <ø> (ø)
src/mcmc/gibbs_conditional.jl 0.00% <ø> (ø)
src/mcmc/hmc.jl 0.00% <ø> (ø)
src/mcmc/is.jl 0.00% <ø> (ø)
src/mcmc/mh.jl 0.00% <ø> (ø)
... and 3 more

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Jul 31 '23 22:07 codecov[bot]

Closed in favour of https://github.com/TuringLang/Turing.jl/issues/2179

yebai avatar Mar 11 '24 17:03 yebai