Comments (12)
Just for context, I was "following" the directions on the tutorial and found that the persistence didn't work. In debugging the problem, I discovered that the template for the intents was in test.ejs. I would suggest that since the tutorial "requires" this file, that in one sense, this isn't a "test" file, nor is it a "debugging" file. Did I miss the instructions somewhere that one needs to modify this file before using the persistence mechanism? I would believe you test scenario should process all intents that are to be experienced by the folks learning the system. Thank you.
from alexa-app-server.
What's this persistence tutorial? :)
from alexa-app-server.
I believe this is because #22 was not merged yet.
from alexa-app-server.
Aha. Could we finish #22 with some tests pls?
from alexa-app-server.
from alexa-app-server.
@dblock By tests, you mean for mocha or actually testing it, since I didn't necessarily find any mocha tests for this?
from alexa-app-server.
Yes. We're changing some code, we want tests that otherwise would break. New management new rules, no more untested code ;)
from alexa-app-server.
I understand that we need testing, but any specifics for how to do so? (ie. mocha testing or manually testing?)
from alexa-app-server.
Mocha of course.
from alexa-app-server.
After trying for a couple of days, there doesn't seem to be an easy solution to test this without some breaking changes to the debugger. IMO, if the alexa-app and alexa-app-server core code are tested well enough, there shouldn't need to be testing the debugger, at least with mocha. Currently, I'm re-factoring the test.ejs file, as it's pretty much a big mess to maintain right now. Until we have a way of testing the debugger otherwise, I'd say we leave it alone otherwise.
from alexa-app-server.
I only disagree "in principle", any code we ship that users can use should have automated tests because otherwise we break it every time we make a change or new contributors are scared of contributing.
from alexa-app-server.
I merged #22, we can pay our technical debts later.
from alexa-app-server.
Related Issues (20)
- Cannot start server HOT 2
- Getting different response in alexa developer service simulator and in alexa app server testing utility HOT 7
- Use template-literal instead of EJS
- Asynchronous Functions not working HOT 7
- How to show the current playing item (songs) in player or queue screen in alexa app.
- Syntax generation for new Skill Builder interface HOT 2
- Receiving Interaction Model JSON in new Dev Console HOT 2
- The raw request body has already been parsed error message is displaying in alexa-app-server
- Is this repository still being actively maintained? HOT 3
- Add Snyk to alexa-app-server
- Release v. Next HOT 2
- Node 7.10.0 and 7.10.1 fail custom binding tests HOT 6
- Add new node versions for CI HOT 1
- {"status":"failure","reason":"missing certificate url"} HOT 4
- account linking with alexa-app-server HOT 2
- Create dynamic apps
- how to start alexa-app-server on hosting server ? HOT 3
- J
- K
- Access
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-app-server.