Mercurial > repos > public > sbplib_julia
changeset 354:db5f7b51038c refactor/remove_dynamic_size_tensormapping
Merge in default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sun, 27 Sep 2020 13:48:13 +0200 |
parents | 7fe43d902a27 (current diff) 28e71a861531 (diff) |
children | 5c9212a8ee4f |
files | |
diffstat | 3 files changed, 20 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/README.md Sat Sep 26 15:20:18 2020 +0200 +++ b/README.md Sun Sep 27 13:48:13 2020 +0200 @@ -1,1 +1,15 @@ # Sbplib + +## Running tests +To run all tests simply run +``` +(@v1.5) pkg> activate . +(Sbplib) pkg> test +``` + +If you want to run tests from a specific file in `test/`, you can do +``` +julia> using Pkg +julia> Pkg.test(test_args=["testLazyTensors"]) +``` +This works by using the `@includetests` macro from the [TestSetExtensions](https://github.com/ssfrr/TestSetExtensions.jl) package. For more information, see their documentation.