TJ Singleton

Software Engineer, Baptist Preacher

Better Acceptance Tests With Page Objects

Recently, I tried organizing acceptance tests around an actor/user class. These classes became unwieldily the more areas of the site they interacted with. In hindsight modeling the page instead of the actor makes much more sense. I recently came across a couple libraries that implemented this pattern, however I haven’t tried either yet.