ineshbose / boyd_bot_messenger

Boyd Bot (Flask Version)
https://inesh.xyz/boyd_bot_messenger
MIT License
6 stars 3 forks source link

Build Tests (and possibly Demo) #4

Open ineshbose opened 4 years ago

ineshbose commented 4 years ago

Create tests for the app that should pass before deployment / commit using test user/data, parsing sample phrases and returning desired output (like timetable).

ineshbose commented 4 years ago

Appveyor provides encrypted environment variables. https://www.appveyor.com/docs/build-configuration/#secure-variables Problem - not quite available to everyone and also not confident to use personal credentials.

ineshbose commented 4 years ago

Possible solution 2: Insert an instance in the database that has _id : "demo" and Platform.get_id() would return "demo" on KeyError.

ineshbose commented 4 years ago

Possible solution 2: Insert an instance in the database that has _id : "demo" and Platform.get_id() would return "demo" on KeyError.

Would return same ID for two people taking a demo at the same time.

ineshbose commented 4 years ago

Using Dialogflow's session ID for demos that will take advantage of ONE-TIME-USER feature planned for release 1.12.0, however, the implementation is not yet modular which means it's somewhat hardcoded for Dialogflow; need to make adjustments using _config.py.