Mercurial > repos > public > sbplib_julia
diff README.md @ 750:f88b2117dc69 feature/laplace_opset
Merge in default
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Fri, 19 Mar 2021 16:52:53 +0100 |
parents | 1c5600a711ae |
children | 221ce98d2612 |
line wrap: on
line diff
--- a/README.md Wed Mar 17 10:20:05 2021 +0100 +++ b/README.md Fri Mar 19 16:52:53 2021 +0100 @@ -10,6 +10,20 @@ If you want to run tests from a specific file in `test/`, you can do ``` julia> using Pkg -julia> Pkg.test(test_args=["testLazyTensors"]) +julia> Pkg.test(test_args=["[glob pattern]"]) +``` +For example +``` +julia> Pkg.test(test_args=["SbpOperators/*"]) +``` +to run all test in the `SbpOperators` folder, or ``` -This works by using the `@includetests` macro from the [TestSetExtensions](https://github.com/ssfrr/TestSetExtensions.jl) package. For more information, see their documentation. +julia> Pkg.test(test_args=["*/readoperators.jl"]) +``` +to run only the tests in files named `readoperators.jl`. +Multiple filters are allowed and will cause files matching any of the provided +filters to be run. For example +``` +Pkg.test(test_args=["*/lazy_tensor_operations_test.jl", "Grids/*"]) +``` +will run any file named `lazy_tensor_operations_test.jl` and all the files in the `Grids` folder.