Skip to content

Commit

Permalink
adding tests
Browse files Browse the repository at this point in the history
  • Loading branch information
asaccool committed Oct 28, 2022
1 parent 0cab200 commit 2f97e55
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
8 changes: 4 additions & 4 deletions octopus.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,6 @@
"name": "dossier",
"src": "https://github.com/privatesky/dossier.git"
},
{
"name": "zmq_adapter",
"src": "https://github.com/privatesky/zmq_adapter.git"
},
{
"name": "loki-enclave-facade",
"src": "https://github.com/OpenDSU/LokiEnclaveFacade.git"
Expand All @@ -129,6 +125,10 @@
"name": "ssapp-middleware",
"src": "https://github.com/privatesky/ssapp-middleware.git"
},
{
"name": "../tests",
"src": "https://github.com/OpenDSU/opendsu-sdk-tests.git"
},
{
"name": "cleanup any unnecessary files after dep installation",
"actions": [
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
"update": "git pull && npm install",
"build": "node ./bin/scripts/pskbuild.js --projectMap=./builds/build.json",
"start": "node bin/scripts/serviceLauncher.js",
"tests": "echo 'no tests yet!!!'",
"tests": "npm run smoke-tests",
"freeze": "node ./node_modules/octopus/scripts/freeze",
"tag-freeze": "node ./node_modules/octopus/scripts/tagFreeze.js"
"tag-freeze": "node ./node_modules/octopus/scripts/tagFreeze.js",
"smoke-tests": "npm run build && node ./psknode/bin/scripts/testrunner.js --config=./smoke-test-suites.json"
},
"repository": {
"type": "git",
Expand Down
3 changes: 3 additions & 0 deletions smoke-test-suites.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"testDirs": ["./tests", "./modules/opendsu/tests"]
}

0 comments on commit 2f97e55

Please sign in to comment.