Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you run the meteor tests?

Tags:

meteor

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

like image 618
joshrtay Avatar asked May 25 '12 19:05

joshrtay


1 Answers

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

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

  1. Switch to ... /meteor/packages/
  2. Run meteor
  3. Navigate to http://0.0.0.0:3000/ in the browser.

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

Presto: meteor test suite

like image 97
zealoushacker Avatar answered Sep 28 '22 04:09

zealoushacker