meteor test

Runs tests against the application

Options

NameDescription
--full-app <port>Your app is loaded as usual, then hidden, so that your tests can inspect and interact with the full running application
--port, -p <port>Port to listen on (instead of the default 3000). Also uses port N+1 and N+2
--inspect [port]Enable server-side debugging via debugging clients like the Node.js command-line debugger, Chrome DevTools, or Visual Studio Code
--inspect-brk [port]Enable server-side debugging via debugging clients like the Node.js command-line debugger, Chrome DevTools, or Visual Studio Code. The server will be paused at startup, waiting for clients to attach to the process on the specified port
--mobile-serverLocation where mobile builds connect to the Meteor server. Defaults to your local IP and the port that the Meteor server binds to. Can include a URL scheme (for example, --mobile-server https://example.com:443)
--cordova-server-port <port>Local port where Cordova will serve the content. It's important when multiple Cordova apps are build from the same Meteor app source code as by default the port is generated using the id inside .meteor/.id file
--raw-logsRun without parsing logs from stdout and stderr
--settings, -s <JSON File>Set optional data for Meteor.settings on the server
--iosRun tests in an iOS emulator. All of the tests for client and server will run in addition to mobile-specific tests
--androidRun tests in an Android emulator. All of the tests for client and server will run in addition to mobile-specific tests
--ios-deviceRun tests on iOS mobile device. All of the tests for client and server will run in addition to mobile-specific tests
--android-deviceRun tests on Android emulator or on a mobile device. All of the tests for client and server will run in addition to mobile-specific tests
--test-app-path [path]Set the directory in which to create a temporary app used for tests. Defaults to the system's temporary directory, usually /tmp
--verbosePrint all output from builds logs
--extra-packages <packages>Run with additional packages (comma separated, for example: --extra-packages "package-name1, package-name2@1.2.3")
--driver-package <driver-package>Test driver package to use to run tests and display results. For example: --driver-package meteortesting:mocha
--exclude-archs <architectures>Don't create bundles for certain web architectures (comma separated, for example: --exclude-archs "web.browser.legacy, web.cordova")