Tom Coleman
a5fb01310c
Removed references to --deploy argument of test modes
2016-03-10 15:49:23 +11:00
Tom Coleman
75749bb544
Fix problem with previous commit
2016-03-10 13:44:58 +11:00
Tom Coleman
5e4107b899
Actually test properly that things exist.
...
For the `meteor test` command when copying build directories into the test app
2016-03-10 12:35:13 +11:00
Tom Coleman
27faeefb31
Pass test metadata in via an environment variable.
...
[Only works on the server right now, fairly uselessly]
For #6331
2016-03-09 15:30:45 +11:00
Tom Coleman
33e619e3ab
Added *.[app-]spec[s].* as valid test file names
2016-03-09 14:34:30 +11:00
Ben Newman
40857bdaff
Propagate meteorEnv subset of process.env from server to client.
...
Fixes #6399 .
2016-03-08 19:37:57 -05:00
Martijn Walraven
83474f9a1e
Don't build web.cordova when not running on mobile targets
...
Closes #6417 .
2016-03-05 08:44:06 +01:00
Tom Coleman
6c90662818
Removed examples and added a command to printout their repos.
...
See #6379
2016-03-03 19:06:51 +11:00
Tom Coleman
058002e7e4
Fix incorrect logic
2016-03-03 14:52:34 +11:00
Tom Coleman
59e3a5c1ff
Merge pull request #6338 from meteor/release-1.3-change-test-paths-6321
...
Changes to testing file matching patterns #6321
2016-02-29 11:18:42 +11:00
Tom Coleman
ab5ab15768
Rename test-app -> test and test --full-app
...
Our old "unit" test mode didn't really enforce "unit-ness" and was perfectly capable of running integration test. So it was confusing to call the two modes unit and integration test modes.
Instead, we call them "test mode" and "full app test mode", run with `meteor test` and `meteor test --full-app`.
The rules for test files were also simplified -- simply *.test[s].* for test mode, and *.app-test[s].* for full app tests. `tests/` directories are simply ignored again.
2016-02-29 11:16:54 +11:00
Tom Coleman
18f112bfc7
Typo, slightly clearer
2016-02-29 11:04:31 +11:00
Tom Coleman
bd92c15ee2
Add authorized --transfer command for Galaxy
2016-02-26 16:26:29 +11:00
Tom Coleman
121d875a20
Remove code that adds .meteor.com to hostnames in the tool
...
Instead let the server (both Galaxy and Mother do this) decide on how to postfix the hostname.
2016-02-26 15:53:37 +11:00
Tom Coleman
5b064f15df
Allow arbitrary options on meteor deploy
...
And pass them through to both the /info and /deploy calls.
2016-02-26 15:24:25 +11:00
Tom Coleman
017e32e41a
Change the message that we send when try to deploy when not logged in
2016-02-26 15:22:46 +11:00
Zoltan Olah
3e59f7110e
Merge branch 'devel' into release-1.3
2016-02-25 14:34:09 -08:00
Martijn Walraven
e129879702
Always try to use auto-detected IP as Cordova ROOT_URL
...
Fixes part of #5973 .
2016-02-25 13:05:18 +01:00
Martijn Walraven
f578edf13b
Add --server-only option to meteor build to skip building mobile apps
...
Closes #6270 .
2016-02-25 12:39:51 +01:00
Martijn Walraven
b425d2271f
Always warn if building inside the app directory, and fix warning
2016-02-25 12:32:09 +01:00
Avital Oliver
0bbae6a58d
meteor test-app now works without ever running meteor run
2016-02-24 10:06:44 -08:00
Tom Coleman
587729c315
Update help.txt
...
Add a link to driver packages in the help docs
2016-02-24 12:48:02 +11:00
Tom Coleman
a3ae963020
Require that you specify a driver package for app tests
...
#5784
2016-02-23 16:54:50 +11:00
Tom Coleman
00dd561188
Merge pull request #6290 from meteor/release-1.3-testing-minutiae
...
Added some help text for meteor test-app
2016-02-23 14:10:50 +11:00
Tom Coleman
30eff7678e
Updates to help text for test-app
...
Based off comments made by avital
2016-02-23 13:07:45 +11:00
Tom Coleman
dd90d2b120
Added some help test for meteor test-app
2016-02-22 14:09:00 +11:00
Tom Coleman
f58a434d2d
Take a test runner as commandline argument
2016-02-22 13:08:23 +11:00
Wexpo Lyu
f5781abb7c
Accurate error in removing a non-direct dependency.
2016-02-19 17:03:54 +08:00
Avital Oliver
af6b9df244
Merge branch 'release-1.3' into app-tests
2016-02-17 21:48:42 -08:00
Avital Oliver
6a37666346
Move test-packages section in CLI code
...
Moving it back to its original location to help with a merge
conflict.
2016-02-17 21:48:05 -08:00
Avital Oliver
08d1e3d81e
Use the published avital:mocha test package by default
2016-02-17 18:00:10 -08:00
Avital Oliver
eadeb72e16
Merge branch 'devel' into release-1.3
2016-02-17 12:15:51 -08:00
Avital Oliver
83922dfc3a
Start support for unit tests.
...
You can now run `meteor test-app --unit` to load just test files
and their dependencies.
Also, `Meteor.isIntegrationTest` and `Meteor.isUnitTest` are now
available on the client side of your apps. This can be used to
only run some tests in either mode.
TODO: Find unit tests inside imports/ directories even if they're
not explicitly imported.
2016-02-16 09:32:05 -08:00
Avital Oliver
4592c74a60
Now both test-app and test-packages work
2016-02-16 08:27:00 -08:00
Avital Oliver
0deeda7be2
Merge branch 'release-1.3' into app-tests
2016-02-15 22:22:48 -08:00
Avital Oliver
e4048680ce
WIP: Unbreak meteor test-packages
2016-02-15 21:39:07 -08:00
Robert Dickert
f82126ca1b
Merge pull request #6080 from meteor/rdickert-patch-1
...
mongo url is good for an hour now
2016-02-09 16:04:56 -07:00
Martijn Walraven
711176a28f
Merge branch 'release-1.3' into cordova-improvements
2016-02-09 12:43:39 +01:00
Martijn Walraven
a9abeedbfe
Merge branch 'devel' into release-1.3
2016-02-09 11:03:26 +01:00
Mitar
50dfce3a5d
Make clear those are Cordova platforms.
2016-02-06 22:04:02 -08:00
Avital Oliver
a335875e19
Merge remote-tracking branch 'origin/release-1.3' into app-tests
2016-02-05 14:57:44 -08:00
Avital Oliver
94ca223d72
meteor test-app: Copy previous app build before rebuilding
...
This speeds up running tests significantly.
Copied from @Sanjo's work on Velocity.
2016-02-05 14:55:33 -08:00
Avital Oliver
283a55ee93
Unbreak test-packages due to previous refactor
2016-02-05 13:08:22 -08:00
Ben Newman
4c890ac20d
Use Babel 6 to implement ECMAScript 2015+ in tool code.
...
Note that `export default` no longer modifies `module.exports`, but simply
defines `exports.default`, so these two import styles will work:
import DefaultExport from "./export-default-module.js"; // preferred
var DefaultExport = require("./export-default-module.js").default;
but this style will no longer work:
var DefaultExport = require("./export-default-module.js");
2016-02-04 21:37:34 -05:00
Avital Oliver
6682972c3a
Implement "testOnly" packages
...
These packages are only bundled with the app when running
`meteor test-app`.
2016-02-01 22:18:00 -08:00
Martijn Walraven
5404f9894b
Rename plugins to pluginVersions
2016-01-25 15:02:41 -08:00
Martijn Walraven
bfe74aeaec
Pass buildOptions as object for new cordova-lib version
2016-01-25 15:02:41 -08:00
Martijn Walraven
b05cd35577
Abort followup tasks if Cordova project creation doesn't succeed
2016-01-25 15:02:40 -08:00
Steven Edouard
00710d8657
Remove not-mobile-capable checks for Windows!
2016-01-25 15:02:02 -08:00
Robert Dickert
31ace7dc1b
mongo url is good for an hour now
...
This functionality was changed by @multilinear. Change the cli help to match this.
2016-01-25 11:44:25 -08:00