Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tutorials/docs-01-contributing-guide/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ Other sections of the website (anything that isn't a package, or a tutorial) –

### Tests

Turing, like most software libraries, has a test suite. You can run the whole suite the usual Julia way with
Turing, like most software libraries, has a test suite. You can run the whole suite by running `julia --project=.` from the root of the Turing repository, and then running

```julia
Pkg.test("Turing")
import Pkg; Pkg.test("Turing")
```

The test suite subdivides into files in the `test` folder, and you can run only some of them using commands like

```julia
Pkg.test("Turing"; test_args=["optim", "hmc", "--skip", "ext"])
import Pkg; Pkg.test("Turing"; test_args=["optim", "hmc", "--skip", "ext"])
```

This one would run all files with "optim" or "hmc" in their path, such as `test/optimisation/Optimisation.jl`, but not files with "ext" in their path. Alternatively, you can set these arguments as command line arguments when you run Julia
Expand Down
Loading