{iframe:src=http://update.sonarsource.org/plugins/thucydides.html|width=700|height=250|frameborder=0}
Your browser does not support iframes.
{iframe} |
Thucydides was the most famous Greek Historian and nowadays is a very promising open source library that lets you use WebDriver/Selenium 2 to write better acceptance tests.
In a few words Thucydides helps you:
More information about Thucydides you can find at the official Thucydides web site and read the User Manual
The plugin calculates several Thycudides metrics and imports them in Sonar ( see metics definitions below )
It adds also a new dashboard widget that supports localiztion.
On the sonar side, just copy the sonar-thucydides-plugin jar to the extensions/plugins directory just like any regular sonar plugin.
The current version of the plugin supports only maven projects and does not execute thucydides tests itself, so thucydides reports must be available before sonar analysis.
The default location of thucydides report files is under target/site/thucydides and although you can define your own report path with a maven property, the plugin expects to find them in this location.
More on Thucydides reporting you can find here http://thucydides.wakaleo.com/#_thucydides_reporting
Currently there is no available configuration as the plugin uses the default values of thucydides properties
Thucydides plugin widget is available under the category Tests
To try the plugin you may find a maven sample project under src/main/resources.
Add to your settings.xml the following
<settings>
<pluginGroups>
<pluginGroup>net.thucydides.maven.plugins</pluginGroup>
...
</pluginGroups>
</settings> |
Run the following maven command
mvn clean verify thucydides:aggregate |
Plugin version | 0.1 |
|---|---|
| Thucydides version | |
| |
| 0.8.20 |
Plugin works only for projects analysed by maven
No details are shown about features and user stories
No drill-down links are available
Name | Key | Qualitative | Description |
|---|---|---|---|
Tests | thucydides-tests | no | Number of Thucydides tests |
Passed | thucydides-tests-passed | no | Number of Passed Thucydides tests ( Succesful tests ) |
Failed | thucydides-tests-failed | no | Number of Failed Thucydides tests ( Failed assertions or errors) |
Pending | thucydides-tests-pending | no | Number of Pedning Thucydides tests. These tests have not been executed yet. |
Duration | thucydides-tests-duration | no | Execution duration of Thucydides tests |
| Succes Density | thucydides-success-density | no | Passed Tests / Tests * 100 |
| Features | thucydides-features | no | Number of Features tested by Thucydides |
| User Stores | thucydides-stories | no | Number of User Stories tested by Thucydides |
Plenty !!!