This discussion is about removing or improving tiny tests from Meteor. After taking a look at the TinyTest’s source, I arrived at the following opinion: It’s probably not productive to remove it right now since the effort would be huge; it’s better to improve it a little, for example, by implementing parallel tests, (we need it asap).
BTW, I tried to replace it (but gave up when I realized how much work it would be) and created a package that allows us to use the Node native test runner for Meteor apps. It’s at version 0.0.3 but already executes tests for server, client, and in parallel. I based it on meteor-mocha.
italojsmeteor:node-test-runner
Meteor driver that runs server and client suites with the Node.js native test runner (no fibers), reusing the headless plumbing from meteortesting:browser-tests.
it supports parallel tests and (server || client) only
Installation and Usage
Install the package in your Meteor app:
meteor add italojsmeteor:node-test-runner
Then run your tests:
# Run all tests (server + client)
TEST_BROWSER_DRIVER=puppeteer meteor test --driver-package italojsmeteor:node-test-runner
Please, test it and share your feedback, it can be a start point to replace the tiny test one day from Meteor’s source.