Code Monkey home page Code Monkey logo

Comments (8)

hoegertn avatar hoegertn commented on July 30, 2024

What exactly are you missing here? What do you want the framework to provide?

from alexa-skill-test-framework.

hoegertn avatar hoegertn commented on July 30, 2024

@alopix can you elaborate on your feature request? I will then try to add it.

from alexa-skill-test-framework.

alopix avatar alopix commented on July 30, 2024

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.

thebucknerlife avatar thebucknerlife commented on July 30, 2024

@hoegertn are there any updates on supporting access tokens?

from alexa-skill-test-framework.

hoegertn avatar hoegertn commented on July 30, 2024

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.

alopix avatar alopix commented on July 30, 2024

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.

hoegertn avatar hoegertn commented on July 30, 2024

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.

alopix avatar alopix commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.