Comments (8)
What exactly are you missing here? What do you want the framework to provide?
from alexa-skill-test-framework.
@alopix can you elaborate on your feature request? I will then try to add it.
from alexa-skill-test-framework.
Sorry for the late reply.
It would be nice to allow to set an accessToken (as well as possibly refreshToken and respective URLs) to allow for testing the Skills with the Alexa account linking features.
Most of my skills are connected via account linking to Google or Alexa OAuth (and even require the user to be logged in to use it). So my Requests would always need the accessToken set beside the userId.
Same with permissions: some of my Skills require the user to allow Device location access which is also a field that does not seem to be supported with this test framework. To include the permissions field in the Request.
from alexa-skill-test-framework.
@hoegertn are there any updates on supporting access tokens?
from alexa-skill-test-framework.
How would you like to integration to look like?
I will collect a feature list and dedicate some time to this project in the near future.
from alexa-skill-test-framework.
It would be nice to have a solution that automatically renews the access token so you don't have to manually take care of entering it all the time.
from alexa-skill-test-framework.
Do you plan to use actual tokens and do real calls in the tests or is the call mocked out and you provide fixed access tokens in your test?
from alexa-skill-test-framework.
For me it would be more or less for integration tests to ensure that the actual connection between skill lambda and the backend API. Using mock data often results in data fitting the lambda perfectly but an actual backend breaking stuff. 🙈
from alexa-skill-test-framework.
Related Issues (20)
- Add a way to enable/disable extraFeatures per test
- Set randomized SessionId per test
- Cannot add Slot Resolutions in the IntentRequest HOT 10
- Support for slot value matching HOT 1
- TypeError: alexaTest.setDynamoDBTable is not a function HOT 1
- Add addEntityResolutionsToRequest method for multiple resolutions at once
- Unable to test for system exceptions in requests
- Support testing Progressive Response API
- Tests doesn't seem to terminate HOT 11
- Add support to pass in options for aws-lambda-mock-context HOT 1
- Unable to test it with intent slots resolutions HOT 1
- Pre set session attributes, similar to `withStoredAttributes`
- Test Session Attributes HOT 1
- withSessionAttributes Issue HOT 7
- Test doesnt work with repromt, why? HOT 4
- using "it" test case instead of "describe" HOT 4
- Is there a way to ignore _questionMarkCheck ? HOT 1
- Improvement: Allow debugging tests by printing the response HOT 2
- Use AlexaSKill Test Framwork in Case of custom webhook (hosted in my server)
- alexaTest.getIntentRequest→ slot "undefined"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alexa-skill-test-framework.