I’m (still) working through Discover Meteor and building the Microscope app. (sorry for all the questions - there is a lot to learn!)
I just reached the Packages chapter and the part about Tinytest. I just have a couple of questions:
- The DM book says Tinytest is a “package tester,” so I just want to confirm: it only works for testing packages? Not apps in general? I’ve heard about the Velocity testing package. Is it recommended to use for testing Meteor apps in general?
- The book mentioned that the Tinytest package itself is in early development, and thus in flux, with lots of API changes. I noticed also that the code that was generated when I used
meteor create --packagewas different than the example code in the book (i.e. some of the calls to
api.addFiles()are different in the book than in the generated code. I assume this means the Tinytest API has changed since the book was last updated.
I didn’t see Tinytest mentioned in the official Meteor docs (full API version), and from a Google search, the best result I found was this:
That’s ok - I completely understand if the API is in flux; I just wanted to ask if there’s any other source of official documentation for Tinytest (that possibly I missed)?