darabos commited on
Commit
ada7e96
·
1 Parent(s): 77168c2

A script to run all tests.

Browse files
Files changed (2) hide show
  1. README.md +2 -4
  2. test.sh +6 -0
README.md CHANGED
@@ -53,12 +53,10 @@ npm run dev
53
 
54
  ## Executing tests
55
 
56
- Just go into each directory and execute `pytest`.
57
 
58
  ```bash
59
- # Same thing for lynxkite-core and lynxkite-graph-analytics
60
- $ cd lynxkite-app
61
- $ pytest
62
  ```
63
 
64
  ## Documentation
 
53
 
54
  ## Executing tests
55
 
56
+ Run all tests with a single command, or look inside to see how to run them individually:
57
 
58
  ```bash
59
+ ./test.sh
 
 
60
  ```
61
 
62
  ## Documentation
test.sh ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/bin/bash -xue
2
+
3
+ cd "$(dirname $0)"
4
+ pytest --asyncio-mode=auto
5
+ cd lynxkite-app/web
6
+ npm run test