The Thucydides Reference Manual

John Ferguson Smart ()
Revision History
Revision 0.9.12 August 2012 JFS

Copyright
1. Introducing Thucydides
2. Basic concepts of Acceptance and Regression Testing
3. Getting started with Thucydides
3.1. Creating a new Thucydides project
4. Writing Acceptance Tests with Thucydides
4.1. Organizing your requirements
5. Defining high-level tests
5.1. Defining high-level tests in easyb
5.2. Defining high-level tests in JUnit
5.3. Running Thucydides in different browsers
5.4. Forcing the use of a particular driver in a test case or test
6. Writing Acceptance Tests with JBehave
6.1. JBehave and Thucydides
6.2. Working with JBehave and Thucydides
6.3. Setting up your project and organizing your directory structure
7. Implementing Step Libraries
7.1. Creating Step Libraries
8. Defining Page Objects
8.1. Using pages in a step library
8.2. Opening the page
8.3. Working with web elements
8.4. Working with Asynchronous Pages
8.5. Executing Javascript
8.6. Uploading files
8.7. Using Fluent Matcher expressions
8.8. Running several steps using the same page object
9. Spring Integration
10. Thucydides Reporting
11. Running Thucydides tests from the command line
12. Integrating with issue tracking systems
12.1. Basic issue tracking integration
13. Using Thucydides tags
13.1. Writing a Thucydides tags plugin
13.2. Bi-directional JIRA integration
13.3. Increasing the size of screenshots
14. Managing state between steps
15. Data-Driven Testing
15.1. Data-Driven Tests in JUnit
15.2. Reporting on data-driven web tests
15.3. Running data-driven tests in parallel
15.4. Data-driven testing using CSV files
15.5. Using data-driven testing for individual steps
16. Running Thucydides tests in parallel batches
17. Further Reading

List of Figures

2.1. A test report generated by Thucydides
5.1. Pending tests are shown with the calendar icon
6.1. A Thucyides project using JBehave can organize the stories in an appropriate directory structure
6.2. You can see the requirements that you need to implement n the requirements report
6.3. You can see the requirements that you need to implement in the requirements report
8.1. The results page for the Maven Central search page
8.2. Conditional expressions are displayed in the test reports
10.1. Thucydides test reports in the Maven site