defunctzombie/zuul

tape test.only does not work when using zuul

Closed this issue · 2 comments

vvo commented

I am trying to use https://github.com/substack/tape#testonlyname-cb along with zuul but it's not working as expected: all tests will run even if using .only on a specific test.

Is this something easy to fix?

Could you share your test code? I was able to get

test.only('should return an object',
 function (t){
  var result = uniqCharacters('foo','foo');
  t.equal(Object.prototype.toString.call(result).slice(8,-1),'Object');
  t.end();
});

to be the only test plan to execute from my repo https://github.com/thewazir/unique-characters
The test ran locally and in SauceLabs.

vvo commented

@TheWazir sorry it works as expected, weird