Giter Club home page Giter Club logo

tastymonster's Introduction

This project is the implementation of a talk given at the Selenium Conference 2012 in London. 

- git clone [email protected]:mmerrell/tastymonster.git
- cd tastymonster
- mvn install

This will build the core test framework and code generation piece, and "install" it into a local Maven repository

The TastyMonster project provides a rudimentary test automation framework, which combines a powerful methodology for smart test design with the ability to generate a "model" of your presentation layer. This allows you to spend more time adding new test cases, and less time fixing broken ones.

PatentMojo is a simple (intentionally terrible) web application, which implements the Velocity presentation framework. It has a set of classes that use the tastymonster framework to generate a base set of Page objects, and you'll be able to see, as you change the Velocity templates (the *.vm files in WEB-INF/templates), re-running the TestPageGenerator class will re-generate these Base Page objects, giving you a real-time update to the state of the application.

Better documentation and unit tests will follow.

When configured properly, it will generate a set of Selenium Page Objects for use in automated test scripts. These pages will allow you to "absorb" changes made to the product under test, by analyzing the presentation layer and reflecting changes in this Page Object model.

It is split across two repositories under the mmerrell username: tastymonster and patentmojo. You'll need both to see an example of how to implement it, but if you're already familiar, you should just need tastymonster.

We'll publish a Maven jar file as soon as the code base calms down and we believe we have a model worth sharing. Until then it's probably best to use the code itself and make customizations as needed.

For now, play around, enjoy, and remember--the concept is sound, as demonstrated on a major commercial web-app. This project is initially meant to provide more ideas than implementation, but we hope to make it grow over time into a real specification.

As word gets out about the power of this concept, we hope this project will serve as a beacon of unified terminology and process, allowing us to push for better change control within the industry.

tastymonster's People

Contributors

mmerrell avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.