O'Reilly logo

Clojure Recipes by Julian Gamble

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required