tacoss / grunt-nightwatch

Run your Nightwatch.js tests with Grunt
50 stars 22 forks source link

How to run tests by tags (or group)? #27

Closed RubaXa closed 9 years ago

RubaXa commented 10 years ago
metallimax commented 10 years ago

You can run tests by tags with this test_settings:

test_settings: { ... some_target: { ... tag_filter: ['tag1', 'tag2'] ... } ... }

pateketrueke commented 9 years ago

Hi again, I've published 0.4.0 and now you can pass the --tag directly:

$ grunt nightwatch --tag foo,bar

But instead of multiple --tag options you must specify comma-separated tags.