velocity-cli

CLI tool for using Meteor Velocity to test your Meteor apps.

Usage no npm install needed!

<script type="module">
  import velocityCli from 'https://cdn.skypack.dev/velocity-cli';
</script>

README

velocity-cli

CLI tool for using Meteor Velocity to test your Meteor apps.

Install

npm install velocity-cli -g

Testing an app

Watch mode

This command runs the tests each time you change something.

velocity test-app

Note: This command also starts your app right now.

Continuous Integration mode

This command runs the tests only once and then exits with the status code.

velocity test-app --ci

More options

The command supports all options that meteor run supports. You can get a full list with meteor help run.

Testing a package

Watch mode

This command runs the tests each time you change something.

velocity test-package my-package

Continuous Integration mode

This command runs the tests only once and then exits with the status code.

velocity test-package my-package --ci

More options

The command supports a lot more options. You can find a list here.

Testing all packages in an app

velocity test-packages

You can pass the same additional options as for velocity test-package.