Mercurial > repos > public > sbplib_julia
comparison README.md @ 769:0158c3fd521c operator_storage_array_of_table
Merge in default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 15 Jul 2021 00:06:16 +0200 |
parents | 1c5600a711ae |
children | 221ce98d2612 |
comparison
equal
deleted
inserted
replaced
768:7c87a33963c5 | 769:0158c3fd521c |
---|---|
8 ``` | 8 ``` |
9 | 9 |
10 If you want to run tests from a specific file in `test/`, you can do | 10 If you want to run tests from a specific file in `test/`, you can do |
11 ``` | 11 ``` |
12 julia> using Pkg | 12 julia> using Pkg |
13 julia> Pkg.test(test_args=["testLazyTensors"]) | 13 julia> Pkg.test(test_args=["[glob pattern]"]) |
14 ``` | 14 ``` |
15 This works by using the `@includetests` macro from the [TestSetExtensions](https://github.com/ssfrr/TestSetExtensions.jl) package. For more information, see their documentation. | 15 For example |
16 ``` | |
17 julia> Pkg.test(test_args=["SbpOperators/*"]) | |
18 ``` | |
19 to run all test in the `SbpOperators` folder, or | |
20 ``` | |
21 julia> Pkg.test(test_args=["*/readoperators.jl"]) | |
22 ``` | |
23 to run only the tests in files named `readoperators.jl`. | |
24 Multiple filters are allowed and will cause files matching any of the provided | |
25 filters to be run. For example | |
26 ``` | |
27 Pkg.test(test_args=["*/lazy_tensor_operations_test.jl", "Grids/*"]) | |
28 ``` | |
29 will run any file named `lazy_tensor_operations_test.jl` and all the files in the `Grids` folder. |