Created
August 6, 2014 19:35
-
-
Save dtolb/7bf88c4226bb4269a9b9 to your computer and use it in GitHub Desktop.
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
$ npm test | |
> [email protected] test /home/travis/build/inetCatapult/catapult-mock | |
> grunt | |
Running "clean:0" (clean) task | |
Running "clean:1" (clean) task | |
Running "jshint:src" (jshint) task | |
>> 9 files lint free. | |
Running "jshint:test" (jshint) task | |
>> 4 files lint free. | |
Running "jscs:src" (jscs) task | |
>> 13 files without code style errors. | |
Running "setupEnvironment" task | |
Running "mocha_istanbul:coverage" (mocha_istanbul) task | |
2014-07-24T18:54:47.696Z - info: Catapult Mock running on port: 5050 | |
2014-07-24T18:54:47.702Z - info: Catapult Mock using path: /v1/users/u-user1 | |
Catapult Mock Application API | |
2014-07-24T18:54:47.937Z - info: Reseting Catapult Objects | |
✓ creates a new application | |
✓ gets information for specific application | |
✓ creates a new application with autoAnswer false | |
✓ gets information for all application | |
Catapult Mock Bridge API | |
2014-07-24T18:54:48.009Z - info: Reseting Catapult Objects | |
✓ creates a new inbound call with auto answer (56ms) | |
✓ creates a new outbound call with callback url | |
✓ answers a outbound call with callback url | |
✓ creates a bridge with the two calls | |
✓ gets info for created bridge | |
✓ hangs up the outbound call | |
✓ gets info for created bridge after a single call hangsup | |
✓ hangs up the inbound call | |
✓ gets info for created bridge after a both calls hangup | |
Catapult Mock Call API | |
2014-07-24T18:54:48.185Z - info: Reseting Catapult Objects | |
inbound calls | |
Auto Answer Verification | |
✓ creates a new inbound call with auto answer | |
Call Information Retrival and Manipulation | |
✓ gets info for inbound call | |
✓ plays and stops media in the inbound call that has callbacks | |
outbound calls | |
outbound call creation | |
✓ creates a new outbound call with callback url | |
Call Information Retrival and Manipulation | |
✓ gets info for outbound call | |
✓ answers a outbound call with callback url | |
✓ checks to see if auto-end playback is enabled | |
✓ plays back audio with auto end | |
✓ hangs up a outbound call with callback url | |
Catapult Mock Phone Number API | |
2014-07-24T18:54:48.373Z - info: Reseting Catapult Objects | |
✓ gets information for specific phone number | |
✓ gets information for all phone numbers | |
24 passing (506ms) | |
============================================================================= | |
Writing coverage object [/home/travis/build/inetCatapult/catapult-mock/coverage/coverage.json] | |
Writing coverage reports at [/home/travis/build/inetCatapult/catapult-mock/coverage] | |
============================================================================= | |
=============================== Coverage summary =============================== | |
Statements : 83.69% ( 508/607 ) | |
Branches : 65.87% ( 83/126 ) | |
Functions : 76.79% ( 86/112 ) | |
Lines : 83.69% ( 508/607 ) | |
================================================================================ | |
>> Done. Check coverage folder. | |
Done, without errors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment