Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule proposal: no pending tests #51

Closed
catkins opened this issue Feb 24, 2016 · 2 comments
Closed

Rule proposal: no pending tests #51

catkins opened this issue Feb 24, 2016 · 2 comments
Labels

Comments

@catkins
Copy link

catkins commented Feb 24, 2016

Inside a large mocha test suite, it's quite difficult to hunt down pending specs of PRs past. It would be awesome to be able to mark them as warnings to pester each other to implement or delete them.

OK

describe('some module', function() {
  it('implements a test', function() {
    expect(true).to.be.ok;
  });
});

Error

describe('some module', function() {
  it('does not yet implement a test');

  it.skip('implemented but skipped', function() {
    expect(false).to.be.ok;
  });
});

describe.skip('another module', function() {
  // ...
});
@lo1tuma
Copy link
Owner

lo1tuma commented Feb 26, 2016

Sounds good to me.

@lo1tuma
Copy link
Owner

lo1tuma commented Apr 14, 2016

Implemented in #59 and released with version 2.2.0.

@lo1tuma lo1tuma closed this as completed Apr 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants