Emily Stark
bc0b1ce53c
Rename a test timeout variable and use it in more places.
...
Bump some more timeouts too.
2014-02-14 18:30:15 -08:00
Emily Stark
b04aa12d39
Make 'empty' a test app with no packages.
...
Rename previous 'empty' app to 'standard-app'.
2014-02-14 17:59:59 -08:00
Emily Stark
c248fcd673
Clarify registration test comment
2014-02-14 15:03:39 -08:00
Emily Stark
c847142344
Fix registration test error check
2014-02-14 15:02:51 -08:00
Emily Stark
708a818654
Fix typo in registration test comment
2014-02-14 15:01:22 -08:00
Emily Stark
e1548ed0cd
Add first deferred registration test
2014-02-14 14:58:59 -08:00
Emily Stark
73a7a09ebe
Require test-utils as testUtils instead of utils.
...
Avoids confusion with utils.js.
2014-02-14 10:01:14 -08:00
David Glasser
ea793cb906
Test for #1808
2014-02-14 00:24:49 -08:00
Emily Stark
e0719ecca2
Make 'deploy - logged out' test not depend on pre-existing apps.
...
Deploy tests pass, but soooo slooooooowly.
2014-02-13 23:12:43 -08:00
Emily Stark
eb570e686b
Bump a deploy-auth test timeout
2014-02-13 21:23:59 -08:00
Emily Stark
51e5d197e6
Make 'meteor claim' test as slow
2014-02-13 21:20:41 -08:00
Emily Stark
06ff4d27fb
Bump timeouts on 'meteor claim' tests
2014-02-13 21:11:25 -08:00
Emily Stark
66a5429fc7
Add markStack to 'meteor claim' test helpers.
2014-02-13 20:46:20 -08:00
Emily Stark
ccfd57f627
Clean up a deploy test with new test-utils
2014-02-13 20:43:49 -08:00
Emily Stark
a3829ab5d8
Remove console.log, add semicolons
2014-02-13 20:41:27 -08:00
Emily Stark
53e87bc58b
Put test-utils into their own namespace
2014-02-13 20:40:43 -08:00
Emily Stark
0c42976321
Merge branch 'devel' into accounts-tests
2014-02-13 20:32:01 -08:00
David Glasser
7318071327
increase a timeout
2014-02-13 19:11:30 -08:00
David Glasser
8fd5369f58
slightly improve logs/mongo test logging
...
This makes the displayed error line be the caller of expectSuccess, not
expectSuccess itself.
2014-02-13 19:11:29 -08:00
David Glasser
4ce13da406
Fixes to new 'run' test
...
- can't set env var mid-process
- need to control fake mongo, and wait
2014-02-13 18:48:19 -08:00
Geoff Schmidt
84e1d5f7cd
Add a basic runner test.
2014-02-13 18:48:19 -08:00
ekatek
e908f9540b
Merge branch 'accounts-tests' of https://github.com/meteor/meteor into accounts-tests
2014-02-13 14:57:17 -08:00
ekatek
954aafa44d
tests for authorized and claim, factored out utils'
...
'
2014-02-13 14:57:08 -08:00
Emily Stark
f4d5e44e75
Change logs match string to something that (I think) always appears
2014-02-13 14:39:11 -08:00
Emily Stark
6cf1a76332
Rewrite 'deploy - logged in test' to not rely on pre-existing apps.
...
Doesn't pass yet.
2014-02-13 13:07:37 -08:00
Emily Stark
e073cc1298
Add a test for typing a username in the email prompt.
...
Also remove another test where we were claiming our legacy password-less
app.
2014-02-12 15:18:22 -08:00
Emily Stark
16b786ad63
Don't claim our unclaimed test app in tests.
...
Also increase some test timeouts.
2014-02-12 11:46:58 -08:00
Emily Stark
76464f647d
Give login prompt when necessary on logs/mongo commands.
...
Add tests for authentication on logs and mongo commands.
2014-02-12 11:22:57 -08:00
Emily Stark
6f74596ab0
Add error messages for 'meteor mongo' too.
...
And some tests for logs error messages.
2014-02-11 15:12:52 -08:00
Emily Stark
cc6c05128e
Add test for deploying with an existing account but no password set
2014-02-11 11:36:47 -08:00
Emily Stark
b80136c981
Add test for case-insensitive username login
2014-02-11 10:45:05 -08:00
David Glasser
1588ed51c4
remove console.log from 'meteor run --program x'
2014-02-11 01:17:52 -08:00
David Glasser
58a27d123c
Fix and test some runner error handling issues
...
- Exit with failure if proxy starts to listen. Previously, we got stuck
inside ProxyRunner.start(), and since we weren't waiting on any IO
we'd exit 0! (The existence of a yielded fiber is not sufficient to
block Node exit.)
- Don't print various bits of startup text if we are stopped midway.
- Stop main Runner immediately if proxy or mongo runners invoke
onFailure, rather than waiting for wait to be called and return.
- Ensure that a few Futures don't get return called on them multiple
times.
- Ensure we don't try to call close() on the proxy's TCP server if it
failed to listen in the first place.
2014-02-11 00:17:22 -08:00
Emily Stark
c300f50fab
Remove XXX about 'slow' test that is 'slow'
2014-02-10 22:33:33 -08:00
Emily Stark
b38322e72e
Add some deploy tests
2014-02-10 22:31:54 -08:00
Emily Stark
b04281763e
Add login failure test
2014-02-10 19:12:52 -08:00
Emily Stark
4a9ae7ae19
Read login test output from stderr.
...
Should have updated the test with 38734b9 .
2014-02-09 17:22:14 -08:00
David Glasser
f82cc15083
comment about an env var
2014-02-06 13:45:36 -08:00
David Glasser
67bc21c0a9
pass path to node to cli-test
2014-02-06 13:30:09 -08:00
David Glasser
9e9de95cd5
hopefully fix run --once test on release
2014-02-06 13:27:19 -08:00
David Glasser
53da518389
run correct meteor in test-bundler-npm too
2014-02-06 12:39:50 -08:00
David Glasser
17040baf7e
logging because asser.equal is terrible
2014-02-06 12:32:16 -08:00
David Glasser
a74855d50a
bundler-assets: find meteor
2014-02-06 12:32:07 -08:00
David Glasser
b75da89d09
continued efforts towards released self-test
2014-02-06 12:18:49 -08:00
David Glasser
7f2eccecda
more efforts to get released self-test working
2014-02-06 12:00:49 -08:00
David Glasser
afdce8cccd
support '=' in command-line arguments
2014-02-05 15:52:05 -08:00
David Glasser
65addc22d6
support short string arguments
...
change how splice is called to be sort of better
2014-02-05 15:52:05 -08:00
David Glasser
9ea312c100
explicit test that empty arguments work
2014-02-05 15:52:05 -08:00
David Glasser
d218256a13
support '-' as an argument
2014-02-05 15:52:05 -08:00
David Glasser
7c02e4a59d
utils.sleep -> utils.sleepMs
...
multiply one by a thousand
2014-02-04 17:46:19 -08:00