aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.md17
1 files changed, 13 insertions, 4 deletions
diff --git a/README.md b/README.md
index 7c29829..311565d 100644
--- a/README.md
+++ b/README.md
@@ -15,6 +15,7 @@ Current limitations are :
- [Quick install](#quick-install)
- [Usage](#usage)
- [Building](#building)
+- [Running tests](#running-tests)
## Dependencies
@@ -48,17 +49,25 @@ For a release build, use :
nimble build -d:release
```
+## Running tests
+
To run unit tests, use :
```
nimble tests
```
-To run integration tests, use :
+To calculate the code coverage of tests, use :
```
-nimble integration
+nimble coverage
```
-To calculate the code coverage of tests, use :
+To run tests only on (for example) the stack module, use :
```
-nimble coverage
+nim r tests/stack.nim
+```
+
+To debug these particular tests, use :
+```
+nim c --debugger:on --parallelBuild:1 --debuginfo --linedir:on tests/stack.nim
+gdb tests/stack
```