27. Integrating Clojure by Scripting Web Tests

Imagine the following scenario while coding on your application. “Wow! I never would have thought that touching the FactoryController method would impact the user report! It’s a good thing we had the test on that page!”

Testing suites add concrete business value. They also fly completely under the radar of any standards body in your organization—and so are a rich place for you to try out new ideas.

In this recipe we’ll use WebDriver to open a Google search page and do a search. Then we’ll test the results against our expectations. Let’s get started.

Assumptions

In this chapter we assume you have Firefox installed on your machine; if not, install it now.

Benefits

The benefit of this chapter is ...

Get Clojure Recipes now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.