franela/goblin

Should be able to skip tests

xetorthio opened this issue · 4 comments

Should be able to skip tests

I've been thinking and investigating a bit about this and I can't come up with something like what mocha does:

describe("Test", function() {
   //Tests here will be executed
});
describe.skip("Skipped", function() {
   //Tests here will be skipped
});

What about doing this?

g.Skip("Skipped", func() {
  //Tests here will be skipped
})

Is this feature even useful?. The only thing that it does is just not running everything thats skipped without producing any output at all:

From the mocha documentation:

This is effectively the same as commenting out cases.

Shall we differenciate these skipped tests and notify the reporter about them?.

mmm... I think we shouldn't even bother having Skip. at least until
someone finds a nice use case for this.

On Thu, Oct 3, 2013 at 11:06 PM, Marcos Nils notifications@github.comwrote:

Is this feature even useful?. The only thing that it does is just not
running everything thats skipped without producing any output at all:

From the mocha documentation:

This is effectively the same as commenting out cases.

Shall we differenciate these skipped tests and notify the reporter about
them?.


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-25673779
.

Agree.

Closed until it's really necessary.