Tests/Tynitest

196 views
Skip to first unread message

Stefano Diem

unread,
Nov 27, 2012, 7:44:07 AM11/27/12
to meteo...@googlegroups.com
I was reading a little bit about meteor roadmap, at http://roadmap.meteor.com, and started reading the "official testing framework" card. In this card it says that for now "authors can use tinytest (the test framework that's used to test the core packages.)".

The thing is that there is no documentation for this packages under meteor, and i had no luck googling for it. Anyone knows where it is documented or if there is a tutorial that explains how to set it up?

Hugs,
Stefano Diem Benatti

phone: 55 11 9343 0994
skype:  teonimesic

Gabriel Pugliese

unread,
Nov 27, 2012, 8:55:02 AM11/27/12
to meteo...@googlegroups.com
I think it's in test-isolation branch @ github https://github.com/meteor/meteor/tree/test-isolation
--

Gabriel Pugliese
@gabrielsapo
+55 11 9-9374-2720
http://www.blogcloud.com.br



--
You received this message because you are subscribed to the Google Groups "meteor-talk" group.
To post to this group, send email to meteo...@googlegroups.com.
To unsubscribe from this group, send email to meteor-talk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/meteor-talk?hl=en.

David Glasser

unread,
Nov 27, 2012, 1:21:06 PM11/27/12
to meteo...@googlegroups.com
Specifically, *package* authors can use tinytest now --- it doesn't particularly work for apps.

tinytest is not yet documented, but you can see it in action from a meteor checkout.  "cd packages; meteor" and go to http://localhost:3000/ --- you'll see Meteor's internal test suite in action. To run just one package's tests, cd into its specific package directory.  The tests are declared in the on_test section of package.js.

Since Meteor doesn't officially support third-party packages (yet! but see the roadmap), there's no directly supported way to test them, but I'm pretty sure the Meteorite folks got something working.


Joc O'Connor

unread,
Nov 27, 2012, 2:40:23 PM11/27/12
to meteo...@googlegroups.com
Yes, Tom Coleman released a version of Meteorite recently that enabled testing packages with Tinytest


Joc

Dan Dascalescu

unread,
Feb 25, 2014, 10:18:33 PM2/25/14
to meteo...@googlegroups.com
Any updates in the meantime? What tweaks are required to use tinytest to test apps?

Reply all
Reply to author
Forward
0 new messages