Skip to content

Wakaleo Consulting

  Home Resources Thucydides Automated Testing Library
Thucydides E-mail
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

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. 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 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
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.

Tags See All Tags Add New Tag...

Please Enter New Tags Separated By Comma's
  Or Close