Comments (14)
@atian25 有空搞没有哇...
from weixin-robot.
嗯, 刚好也发现这问题了. 之前写的test更像是对example的外部测试.
from weixin-robot.
稍微试了下, 不知道对不对.
atian25@0dde471
几个小疑问:
- webot和express应该是每次都启动还是?
- 每一个test文件, 每一个describe都是独立的吗? 会不会每个都启动express会端口冲突?
from weixin-robot.
它不指定端口的。框架完成。
from weixin-robot.
应该是框架内完成模拟请求,甚至不用启动 express
On Fri, Jan 18, 2013 at 9:39 AM, Jackson Tian [email protected]:
它不指定端口的。框架完成。
—
Reply to this email directly or view it on GitHubhttps://github.com/ktmud/weixin-robot/issues/23#issuecomment-12403868.
from weixin-robot.
明白了, 之前的test其实是example的集成测试.
webot的测试应该是分几块
- auth
- bodyParser
- reply
分开测
from weixin-robot.
what about this: atian25@8f6d9a6
https://github.com/atian25/weixin-robot/blob/master/test/auth.js
https://github.com/atian25/weixin-robot/blob/master/test/rule_simple.js
from weixin-robot.
提交了, 先写了几个简单的
ktmud@6d440f5
from weixin-robot.
第一次接触node有没人出个详细的安装配置教程啊。我用的appfog想搭建个。不知道如何下手。
from weixin-robot.
发布到cloudfoundry吧: http://cndocs.cloudfoundry.com/tools/vmc/installing-vmc.html
nodejs的入门文章,看我之前写的一个介绍吧: http://atian25.iteye.com/blog/1462894
from weixin-robot.
@atian25
方便留个联系方式吗?有问题的时候好请教。
from weixin-robot.
nodejs的入门可以看我刚才的那个URL。
社区的话,可以去http://club.cnodejs.org 和 http://www.csser.com
from weixin-robot.
刚测试了。感觉,忽略标点符号很重要啊。还有就是英文大小写。
from weixin-robot.
那不是这个类库要解决的事, 而是开发者通过正则式和函数来解决匹配问题。
PS: 如果对类库有其他的疑问,可以通过另外发起一个issue来讨论。在这个主题里面会*扰到其他人。
from weixin-robot.
Related Issues (20)
- Doc里面似乎有个小错误 HOT 2
- handler里使用异步事件 HOT 1
- 请问新出的语音辨识接口加上了吗? HOT 5
- 语音识别接口还是有bug HOT 5
- 链接菜单没有跳转 HOT 4
- 经常会出现204请求 HOT 1
- 微信多次发送消息 HOT 4
- 能否拿到发信的人的ip地址? HOT 3
- 机器人自动回复时, 回复内容可以在别的回调函数里面吗(wechat单独使用,指定res.reply是可以的) HOT 4
- 在handler中return图文信息的时候url无法带入多个参数 HOT 2
- 微博也做了类似的post推送机制,能否兼容一下? HOT 3
- 该公众号暂时无法提供服务,请稍后再试 HOT 4
- 请教下 如何把yaml修改为json么? HOT 2
- 有计划支持安全模式么? HOT 4
- 代码全是express3.x的,有没有express4.x以上版本? HOT 1
- 多客服系统没有接入么? HOT 5
- 配置正常,但是没有自动回复 HOT 1
- 为什么老会显示don't konw what you are saying HOT 2
- 规则库
- 国务院与该项目的合作
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 weixin-robot.