Difference between @dev, @watch, and @focus


I think I understand what @focus does, but I don’t understand the other two. I noticed that if I run the following:

$ meteor --test

No tests are actually run. I have to do this:

$ VELOCITY_CI=1 meteor --test

Do I need to use @dev? I can’t find clear documentation on what these different tags do.


Good call on the docs, it’s something I have to do.

The @dev, @focus and @watch are all the same thing.

When VELOCITY_CI is used, the tags are ignored since on CI you want all your specs to run

When in development mode, that is when running meteor locally, the tags are used to keep you focused and to only rerun the tagged scenarios and features as you change you app.

Hope that helps


Thanks Sam! Yeah, that’s kinda what I figured. What I was looking for was a way to run all tests in my terminal, not in a CI environment. It’s no hassle to just type VELOCITY_CI=1 meteor --test, though I feel there should be some succinct way to run all tests from a command line if one wants to make sure everything is good.