Comments (4)
I like that API.
There's also this for acceptance tests.
It's an external server that runs your specs (written in javascript) and stands in as a fake Facebook to receive your outgoing messages. Pretty interesting route.
from botstack.
maybe something like
send_and_expect_answer "Hi bot!", "Hi Human!"
#or
send_text_expect_text "Hi bot!", "Hi Human!"
send_text_expect_image "Hi bot!", "http://host.com/img.png"
send_audio_expect_audio "http://host.com/img.mp3", "http://host.com/img.mp3"
from botstack.
hmm interesting - could it be auto started with bundle exec rspec ?
for now I use webmock --> 18ea589
from botstack.
You could write a wrapper or do something in the spec_helper
to help it bootstrap, but that's not really the use case. The use case is that you write all your tests with that test library, in JavaScript. So it's likely not that interesting if you want to stick to Ruby (which you likely do and should).
Your solution fits more into the project. 👍
from botstack.
Related Issues (20)
- data warehouse or external analytics?
- microsoft bot framework
- user variables for common stuff
- wit.ai support
- Gps 2 address
- Message rotation HOT 2
- How To Fix RecipientNotFound ((#100) No matching user found) Error? HOT 5
- Best way to write a bubble? HOT 3
- Make a rack app? HOT 4
- Rename lib/bot/bot_logic.rb to bot_logic_example.rb or bot_logic_demo.rb and probably move out of lib
- Instance methods instead of class methods on BaseBotLogic subclasses
- Link to demo videos with screenshots in README
- Reset sent messages HOT 3
- Introducing: Webviews for Botstack HOT 4
- handling spam users
- handle multi button clicks
- Provide dummy TOS/Privacy Policy for fb app review HOT 1
- docs via repo HOT 1
- Unregistered request during test : thread_settings
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 botstack.