Thank you for your long and thoughtful answer! Responses inline below...
On Tue, Sep 11, 2012 at 8:52 PM, semperos <
daniel.l...@gmail.com> wrote:
> on moving to a Grid-based setup at some point, you can start with a Grid on
> a single machine (start one hub and one node locally; clj-webdriver has some
> bash scripts to help folks get started). With the new DesiredCapabilities
Sounds good. When I resurrect our CI environment, I'd love to go down
this path (long story).
> I personally start in the REPL, copy out successful REPL forms into a file,
OK, that's been how I've been working. It seems to make a lot of sense
with Clojure.
> larger Maven builds, intended as system-level tests at the very end of a CI
> pipeline. As for values to test, I'm sure there are several schools of
Likewise. We run unit tests, integration tests (pure server-side at
the controller level), browser-based Selenium tests (legacy) and now
Clojure-based webdriver tests at the end.
> thought. I'd test for as many on-screen values as impact the behavior of the
> app and determine correctness; clj-webdriver's Taxi API, combined with
Good insight, thank you.
> together a collection of low-level functions using clj-webdriver (e.g.,
> fill-in-user-name, click-login-submit, profile-link-visible?, etc.) that
> become the building blocks for concept-level functions (e.g., login,
> logged-in?, etc.), which is what you author your actual tests with.
That seems to be the natural direction we're heading. We're building a
small library that's close to a DSL for interacting with our
application, an outgrowth of just making readable tests with reusable
functions.
Thank you for confirming that we're probably going in the right
direction and making sane choices!