Mercurial > repos > public > sbplib_julia
comparison README.md @ 349:76aa1486124a
Add some info about running tests in the readme
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sat, 26 Sep 2020 15:36:25 +0200 |
parents | 01b851161018 |
children | 48a61e085e60 |
comparison
equal
deleted
inserted
replaced
345:2fcc960836c6 | 349:76aa1486124a |
---|---|
1 # Sbplib | 1 # Sbplib |
2 | |
3 ## Running tests | |
4 To run all tests simply run | |
5 ``` | |
6 (@v1.5) pkg> activate . | |
7 (Sbplib) pkg> test | |
8 ``` | |
9 | |
10 If you want to run tests from a specific file in `test/`, you can do | |
11 ``` | |
12 julia> using Pkg | |
13 julia> Pkg.test(test_args=["testLazyTensors"]) | |
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. |