Commit Graph

41 Commits

Author SHA1 Message Date
Nick Martin
5a1ecf6d16 Events test helper, plus misc test fixups. 2012-03-28 18:26:15 -07:00
David Greenspan
4f0c7d061d test.equal -> deep compare, not stringify compare 2012-03-28 18:26:15 -07:00
Geoff Schmidt
3b520997b1 tinytest: support some additional assertions 2012-03-16 21:11:07 -07:00
Geoff Schmidt
6de5ab62ce Simplify method API 2012-03-16 02:55:14 -07:00
Geoff Schmidt
784529a9af tighten up exception reporting in async tests 2012-03-16 02:55:14 -07:00
Geoff Schmidt
ef46d1ea58 eliminate App, proxy methods from Meteor 2012-03-16 02:55:14 -07:00
Geoff Schmidt
dc880b1d1e Additional tests for Meteor._delete 2012-03-07 01:47:35 -08:00
Geoff Schmidt
168bc8e570 FF10 fix -- ignore the spurious argument that
FF10 passes to timer callbacks.
2012-03-07 00:24:53 -08:00
Geoff Schmidt
3dc8dc2887 Permit fine-grained control of database polling.
You can now used invalidation keys to specify exactly what will get polled when.
2012-03-06 15:44:42 -08:00
Geoff Schmidt
14d41036f4 Simplify subscription API
- Use positional arguments
- Pass the subscription object in 'this'
2012-03-06 15:44:42 -08:00
Geoff Schmidt
76c57526f7 rework public API for defining tests 2012-03-02 05:22:40 -08:00
Geoff Schmidt
7729b7d887 make private tinytest symbols private 2012-03-02 05:13:41 -08:00
Geoff Schmidt
0822bd410f rework public API for running tests 2012-03-02 05:08:06 -08:00
Geoff Schmidt
74dbbf3419 clean up test reporting plumbing 2012-03-02 04:43:03 -08:00
Geoff Schmidt
601f20553e Get rid of all global state in tests 2012-03-02 04:22:57 -08:00
Geoff Schmidt
cab5afbb91 move test reporting functions out of globals 2012-03-02 03:57:30 -08:00
Geoff Schmidt
c2302c9e46 factor dynamic variable fully into tinytest.js 2012-03-02 03:27:55 -08:00
Geoff Schmidt
a0877e26be move driver entrypoints from 'test' to 'tinytest' 2012-03-02 03:18:18 -08:00
Geoff Schmidt
bc69d57e16 Give each test run a unique ID 2012-03-02 02:32:32 -08:00
Geoff Schmidt
60913bfd6f Notify observers asynchronously, add write fencing 2012-03-02 01:41:06 -08:00
matt debergalis
3f1ff26e43 Convert to new publish API. 2012-02-29 16:08:59 -08:00
Geoff Schmidt
4f04e0fb6a don't offer to debug server tests on the client 2012-02-29 01:47:42 -08:00
Geoff Schmidt
16b2de8e8c show overall test status
(makes it easier to see if server tests haven't returned)
2012-02-29 01:08:22 -08:00
Geoff Schmidt
f41d692cf5 method invocation context object
(including support for async methods, server-side
method ordering, running simulated methods
correctly)
2012-02-29 00:42:38 -08:00
Geoff Schmidt
97c3e50379 Support server-side tests. 2012-02-23 06:08:09 -08:00
Geoff Schmidt
e0722bedf8 basic livedata method invocation tests 2012-02-21 01:40:15 -08:00
Geoff Schmidt
8cf92b18ef reinstate ability to open debugger on a test
(also, restore ability to catch exceptions in tests)
2012-02-20 23:58:59 -08:00
Geoff Schmidt
6acaeb0ee6 refactor tinytest for async 2012-02-20 22:12:31 -08:00
David Greenspan
f2e6838691 fixes to minimongo, test driver, and tests 2012-01-28 00:10:35 -08:00
Geoff Schmidt
d1d5604976 Refactor bundler; new package API 2012-01-27 20:02:26 -08:00
David Greenspan
f68c30136e show test short names 2012-01-27 20:02:25 -08:00
David Greenspan
ecb82782eb show test run times in results 2012-01-27 20:02:25 -08:00
David Greenspan
ef4a7b91af new, nice-looking test driver; pretty much full-featured except lacks stop_on_failure 2012-01-27 20:02:24 -08:00
Geoff Schmidt
c44f9c3680 refactor Package/PackageLibrary out to be reusable 2012-01-27 20:02:24 -08:00
Geoff Schmidt
e5eb42e55c Refactor package API/bundler 2012-01-27 20:02:24 -08:00
Geoff Schmidt
c3a5e2cafc merge rename from master, with fixups. unit tests pass. take two (this should be an actual merge commit) 2012-01-20 15:25:31 -08:00
Geoff Schmidt
4bed3a6e62 add link to vowsjs 2012-01-19 15:26:04 -08:00
Geoff Schmidt
b5836456db add a header with test counts :) :)
a bit slow.. new collections API should help!
2012-01-19 01:20:33 -08:00
Geoff Schmidt
c8cf066dbc port minimongo tests to new system. rename directory to 'unit'.
5 minimongo tests are failing; mark as expected.
2012-01-19 00:49:30 -08:00
Geoff Schmidt
3dbf45641f liverange/liveui tests pass 2012-01-18 22:01:23 -08:00
Geoff Schmidt
a5d650e7ce new test framework WIP 2012-01-18 01:19:55 -08:00