Description
Recently I have developed a new plugin named the Sonar WebDriver Plugin. The Sonar WebDriver Plugin is a static code analysis tool that helps following best practices for writing WebDriver tests. This plugin is aimed for WebDriver (Selenium/Appium) test code. The test code is usually written mainly by QA engineers, but also by developers.
As there are many great static code analysis checks for application code, and I encountered this myself in practice, there is currently not a Sonar plugin (at least I could not find one) that scans test code helping to write reliable and maintainable functional tests. Here I do not mean unit or integration tests but functional tests that are on a higher level. Tests based on WebDriver are an example of these functional tests that exist in the industry.
What’s next
It would be great if this plugin can be added to the Sonar Marketplace to gain more traction and usage to improve the plugin more and more by feedback from the community. Is this possible?
One of the things we have to check off to get this into the Marketplace is testing (and approval) by SonarSource staff, which usually means me. Since I’ve never written or used WebDriver tests, can you point me to a repository that contains some that I can use for testing?
BTW, I haven’t looked at all at your project yet, so I can’t speak to any of the other requirements. I’ll come back to that later.
I think writing WebDriver tests is known to most QA (automation) engineers, but not so much to developers, the more reason to gain more traction for this to get more feedback
Thanks for the link. I see your project has only been analyzed once. Is that because you haven’t committed since the 25th or because you haven’t automated analysis? The latter is pretty easy to do with travis-ci.org, I understand.
No one at SonarSource has anything to do with that site. I can only add you to the Plugin Library page, which I had forgotten to do, so thanks for the reminder!
Hi, can the minVersion of this plugin be updated to ABOVE SonarQube version 6.7.5?
By the way, I also added the automated analysis via sonarcloud to the CI.