9得票1回答
调试 Meteor Velocity Mocha 测试

我希望使用Velocity和Mocha来调试我的测试代码,在使用断点和REPL而非console.logs。 为了调试我的应用程序代码,我可以在启动Meteor应用程序时使用NODE_OPTIONS='--debug'标志,并像node debug localhost:5858那样绑定调试器...

9得票1回答
如何在Meteor Jasmine测试中使用console.log

我正在使用以下技术: Meteor 1.0.2.1 sanjo:jasmine 0.9.1 velocity:html-reporter 0.3.2 https://doctorllama.wordpress.com/2014/09/22/bullet-proof-internatio...

8得票4回答
Meteor / Jasmine / Velocity: 如何测试需要登录用户的服务器方法?

使用velocity/jasmine,我在测试需要当前已登录用户的服务器端方法时遇到了一些困难。有没有一种方法可以通过存根/伪造使Meteor认为用户已登录? myServerSideModel.doThisServerSideThing = function(){ var user...