Skip to content

Commit

Permalink
[TEST] Run integration test module.
Browse files Browse the repository at this point in the history
  • Loading branch information
justmoon authored and sentientwaffle committed Feb 23, 2016
1 parent 15dd69d commit 6655e5b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
apidoc-out/
coverage/
integration-test/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ apidoc-out/
coverage/
*.cluster
/npm-debug.log
/integration-test/
2 changes: 2 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ test:
- docker run --name=ledger-test-sqlite -it --net=host -e LEDGER_UNIT_DB_URI=sqlite:// -e XUNIT_FILE=coverage/xunit.xml -v $PWD/coverage:/usr/src/app/coverage interledger/five-bells-ledger sh -c 'npm test --coverage -- -R spec-xunit-file'
# Extract test results
- cp coverage/xunit.xml ${CIRCLE_TEST_REPORTS}/
# Run integration test suite
- npm run integration
# Generate API documentation
- npm run apidoc
deployment:
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"lint": "eslint .",
"test": "istanbul test -- _mocha",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"apidoc": "apidoc -o apidoc-out -i src/controllers/"
"apidoc": "apidoc -o apidoc-out -i src/controllers/",
"integration": "integration all"
},
"engines": {
"node": ">=0.12",
Expand Down Expand Up @@ -72,6 +73,7 @@
"eslint": "^1.2.1",
"eslint-config-standard": "^4.1.0",
"eslint-plugin-standard": "^1.2.0",
"five-bells-integration-test": "^1.0.0",
"istanbul": "0.4.0",
"mocha": "~2.3.4",
"nock": "^2.10.0",
Expand Down

0 comments on commit 6655e5b

Please sign in to comment.