你如何运行流星测试? [英] How do you run the meteor tests?

查看:42
本文介绍了你如何运行流星测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对 livedata 进行了一些更改,并希望运行 livedata_test.如何使用 tinytest 运行 livedata_test?

I made some changes to livedata and would like to run the livedata_test. How do you use tinytest to run the livedata_test?

推荐答案

经过一番挖掘,我发现你可以从你克隆的meteor 源的packages 目录中运行meteor.

After doing some digging, I've figured out that you may run meteor from the packages directory of your cloned meteor source.

来源:SFJS #23:函数式编程和 Meteor.js(这实际上是一个很棒的一般视频).

Source: SFJS #23: Functional Programming and Meteor.js (this is actually a fantastic video in general).

  1. 切换到 .../meteor/packages/
  2. 运行meteor
  3. 在浏览器中导航到 http://0.0.0.0:3000/.

可以通过导航到特定的包目录并执行上述第 2 步和第 3 步来运行对单个包的测试.

Tests for individual packages may be run by navigating to the specific package directory and following steps 2 and 3 above.

急速:

这篇关于你如何运行流星测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆