Logo

Automated
Acceptance Testing with
Style

  • Home
  • OVERVIEW
    • Credits
  • DOWNLOADS
  • DOCUMENTATION
  • Learn
  • Wakaleo
    • About Us
    • Contact Us
  • HELP
Tool Integration
  • JUnit
  • JBehave
  • EasyB
  • JIRA
Tags
atdd bdd jbehave selenium web testing
Sample Reports
Home OVERVIEW

Overview

Details
Jul18

Overview

Thucydides - Automated Acceptance Testing with Style

Thucydides is an open source library that lets you use WebDriver/Selenium 2 to write better acceptance tests. 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

In a nutshell, here is how it works:

Define your requirements and acceptance criteria

Thucydides starts with the Requirements you need to implement. Each requirement has Acceptance Criteria, which help clarify the requirement. It is these Acceptance Criteria that we automate with Thucydides.

Model your requirements

In Thucydides, you build a simple model of your requirements in Java. There are many ways to model your requirements, including a simple declarative class structure, using a directory structure convention, or integrating with external software such as JIRA. This lets developers specify exactly what requirement they are testing for each test, and helps Thucydides keep track of what application features and requirements have been tested.

Automate your acceptance criteria

Next, you describe your acceptance criteria in high-level business terms.

Developers then record these acceptance criteria using either a BDD tool such as jbehave or easyb or just in Java using JUnit, so that Thucydides can run them.

These tests get executed, but they are reported as "pending".

Implement your tests

Developers now implement the acceptance criteria, so that they can run against the actual application.

Under the hood, tests are broken down into nested steps for better readability and easier maintenance.

Web tests are written using the popular open source Selenium 2/WebDriver library.

Report on test results

Thucydides provides detailed reports on the test results and execution, including:

  • A narrative for each test
  • Screen shots for each step in the test
  • Test results including execution times and error messages if a test failed

Report on functional test coverage

But Thucydides goes beyond just reporting on test execution. It also tells you:

  • How much of your requirements have been tested
  • How much is working, and
  • How much remains to be done

Report on project progress

Thucydides also reports on project history and progress:

  • Features specified over time
  • Features implemented and tested over time, and
  • Failing tests over time

Learn more

Learn more about Thucydides:

  • Thucydides on Github
  • Getting Started with Thucydides
  • The Thucydides User Manual
  • The Thucydides Blog

Training and Support

Wakaleo Consulting CEO John Ferguson Smart is the founder and lead developer of Thucydides.

Wakaleo Consulting can provide both training and full enterprise support for your Thucydides web test developments, including help with installation, configuration and usage guidelines, as well as feature requests and bug fixes. We offer yearly support contracts backed with a service level agreement.

Contact us to learn more.

Events
More News
  • JavaOne 2012: Behavior-Driven Development on the JVM: A State of the Union

    Super User -Fri, Aug, 2012

Documentation
  • Official Thucydides Blog
  • Thucydides on Github
  • Thucydides User Manual
  • The Thucydides Company
Thucydides Release 0.8.31 - enhancements and bug fixes
Aug 03
Thucydides Release 0.8.31 is primarily a bug fix and enhancement release but goes a long way in making Thucydides more robust. We have added a couple of minor features and fixed issues related with... Read More...

Help and Support

...

Copyright © 2007 - 2012 Wakaleo Consulting

Thucydides development is lead and supported by Wakaleo Consulting,
a Sydney-based company that helps organisations optimize their software
development process. We provide consulting, training and mentoring
services in Agile Development Practices such as Continuous Integration,
Test-Driven Development, Acceptance-Test Driven Development,
Build Automation, Code Quality Practices and Automated Web Testing.

  • Home
  • OVERVIEW
    • Credits
  • DOWNLOADS
  • DOCUMENTATION
  • Learn
  • Wakaleo
  • HELP