Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description / Features

Thucydides is an open 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:

  • Write tests that are more flexible and easier to maintain
  • Produce illustrated, narrative reports about your tests
  • Map your automated tests back to your requirements more easily
  • See how much of your application is actually being tested
  • And measure project progress

...

The current version of the plugin supports only maven projects and does not execute thucydides tests itself, so thucydides reports must be run 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 for the time being.
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

Try the plugin

To try the plugin you may find a maven sample project under src/main/resources.

  1. Unzip sample project in a local folder
  2. Add to your settings.xml the following

    Code Block
    <settings>
       <pluginGroups>
           <pluginGroup>net.thucydides.maven.plugins</pluginGroup>
           ...
       </pluginGroups>
    </settings>
  3. Run the following maven command

    No Format
    mvn clean verify thucydides:aggregate
  4. Run a Sonar analysis for the project ( mvn sonar:sonar )

Compatibility Matrix

Plugin version

0.1
Thucydides version 

0.8.15

(tick)

0.8.20(tick)

Known Limitations

Plugin works only for projects analysed only by maven

Available Metrics

TBD

 

No details are shown about features and user stories
No drill-down links are available 

Metrics Definitions

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 Densitythucydides-success-densitynoPassed Tests / Tests * 100
Featuresthucydides-featuresnoNumber of Features tested by Thucydides
User Storesthucydides-storiesnoNumber of User Stories tested by Thucydides

 

Future Work

Plenty !!!

Change Log

JIRA Issues
anonymoustrue
titleRelease 0.1
height70
width900
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=18539&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000