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-empty-description #302

Closed
pustovitDmytro opened this issue Nov 11, 2021 · 1 comment
Closed

Rule proposal: no-empty-description #302

pustovitDmytro opened this issue Nov 11, 2021 · 1 comment
Labels

Comments

@pustovitDmytro
Copy link
Contributor

pustovitDmytro commented Nov 11, 2021

Hi, that's would be awesome to catch empty suites/tests.

test('', function () {
    assert.equal(2 + 2, 4);
});

Of course, I can use valid-suite-description/ valid-test-description rules to enforce descriptions format, but I don't have a specific convention, and a lightweight no-empty rule will be useful for such a case.

I'm ready to provide help with implementation, if needed.

@lo1tuma
Copy link
Owner

lo1tuma commented Nov 12, 2021

I think that is a great idea 👍.

@lo1tuma lo1tuma closed this as completed in 8d2376d Dec 1, 2021
lo1tuma added a commit that referenced this issue Dec 1, 2021
Add `no-empty-description` rule. closes #302
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