Ask HN: Would a JavaScript unit test linter be useful?

https://news.ycombinator.com/item?id=10451214
by omarmeky • 11 years ago
1 0 11 years ago

Given that code coverage does not in any way indicate you wrote GOOD tests, I am curious if a javascript karma/jasmine linter would be useful? It could perhaps check that you are following the AAA testing pattern or that you have one and only one assertion per test? Just some ideas. What are your thoughts or ideas around this?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com