generated from DARMA-tasking/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#32: move testing documentation to a separated md file
- Loading branch information
1 parent
3062f64
commit d093f44
Showing
2 changed files
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## Unit Testing | ||
|
||
Unit tests are implemented with the help of the [Google's C++ test framework](https://github.com/google/googletest). | ||
The tests source files are located under the `tests` directory as test_*.cpp. | ||
|
||
You might also add an example in the `example` directory which will be also run as a test as defined by the current cmake configuration. | ||
|
||
To run the test from the CLI first build vttv then call ctest using the command line: | ||
`ctest --test-dir build` | ||
|
||
To run specific tests you can use the ctest search option: | ||
`ctest --test-dir build --verbose -R "reader"` |