Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Js/test coverage #60

Merged
merged 14 commits into from
May 5, 2016
Merged

Js/test coverage #60

merged 14 commits into from
May 5, 2016

Conversation

joshskeen
Copy link
Collaborator

@joshskeen joshskeen commented May 5, 2016

In this pull request, i make a first pass at adding test coverage to alexa-app.

  • add tests for current card api
  • add tests for intent handling behavior
  • add tests for session behavior
  • add tests for initialization

I also have add travis and code coverage integration so that we've got a way to check new pull requests pass the test suite.

@matt-kruse : For the travis integration to be active on the project, please enable the travis integration on the github repository - I currently don't have access to enable that in settings.
https://www.evernote.com/l/ATn8zc-KNIFOsLbcH5p9m-70PqIwgHUTIp4B/image.png
Also, the code coverage report integration is via coveralls.
Here is the output: https://coveralls.io/builds/6062172

@joshskeen
Copy link
Collaborator Author

@radishmouse ^^

@joshskeen
Copy link
Collaborator Author

@rickwargo

return expect(subject).to.eventually.become({
ssml: "<speak>" + expectedReprompt + "</speak>",
type: "SSML"
});
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this result also seemed strange - i saw in the code path logic for combining reprompts but i didn't observe that behavior.

@matt-kruse
Copy link
Collaborator

Added Travis CI

@radishmouse radishmouse merged commit 71e19e2 into alexa-js:master May 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants