Add Automated Testing to Your Project in an Afternoon Michael Sherron, Technical Architect.

Slides:



Advertisements
Similar presentations
By SAG Objectives Cross platform QA Automation for web applications Scheduling the automation Automatically build the test scripts Generate the.
Advertisements

Using JavaServer Pages Harry R. Erwin, PhD CIT304/CSE301.
Optimizing SharePoint Search Using Scope and Managed Properties By Kevin Israel, MVP.
SharePoint 2013 Catalog Sites Brian Culver ● SharePoint Saturday DFW ● March 7, 2015 Build a SharePoint 2013 Search Driven.
Toolbox Mirror -Overview Effective Distributed Learning.
Why choose Drupal?
By: Gerardo L. Mazzola Web Application Development Life Cycle “A driven force moving businesses into the future.”
Content Management Systems Why to use. And, if you’re going to use one, which one???
The easy way to a nice looking website design By a total non-designer (Me!)
A GUIDE TO SHAREPOINT 2007 CUSTOMIZATION OPTIONS Heather Solomon, WSS MVP.
Tutorial on Visual Studio express Introduction Visual Studio Express Editions are a new line of Microsoft development Tools. This line of products.
Linux Operations and Administration
Automated Facebook Ads…Made Simple Module 2. Here’s What You’re Going to Learn in Module 2: Facebook’s ad campaign structure…step-by-step & simplified.
Getting Started With Java Downloading and installing software Running your first program Dr. DwyerFall 2012.
Barracuda Load Balancer Server Availability and Scalability.
Website Redesign Features: Simple Navigation New Professional Look Easily Edit Content on Every Page Post New Jobs / Apply From Website Integration of.
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Trimble Connected Community
LSC Segment Database Duncan Brown Caltech LIGO-G Z.
Terry Henry IS System Manager, SharePoint SME Micron Technology Inc.
Business Unit or Product Name © 2007 IBM Corporation Introduction of Autotest Qing Lin.
Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.
Microsoft FrontPage 2003 Illustrated Complete Finalizing a Web Site.
Revolutionizing enterprise web development Searching with Solr.
Drupal Commerce Better than Uber Andrew Root: druroot.
© Blackboard, Inc. All rights reserved. Deploying a complex building block Andre Koehorst Learning Lab Universiteit Maastricht, the Netherlands July 18.
Deploy a Microsoft Image RHONDA LAYFIELD SR. DEPLOYMENT ARCHITECT DMVMUG User Conference 2014 – Reston, VA.
Page 1 © 2001, Epicentric - All Rights Reserved Epicentric Modular Web Services Alan Kropp Web Services Architect WSRP Technical Committee – March 18,
Cloning Windows NT Systems Mainly based on experiences at RAL and Oxford.
Wordpress with Mina Automated Deployment Solution Jonathan Gravato DIG 4104c.
SMS Software Distribution. Overview  Explaining How SMS Distributes Software  Managing Distribution Points  Configuring Software Distribution and the.
MEMBERSHIP AND IDENTITY Active server pages (ASP.NET) 1 Chapter-4.
L.T.E :: Learning Through Experimenting Using google-svn for MtM Docs Development Denis Thibault Version 3.2 Mar 12 th, 2009.
Outline of Drupal Gardens setup and site export ENTICE meeting 12 November 2010 Silvia Tomanin DG-CO.
©SoftMooreSlide 1 Introduction to HTML: Forms ©SoftMooreSlide 2 Forms Forms provide a simple mechanism for collecting user data and submitting it to.
| nectar.org.au NECTAR TRAINING Module 9 Backing up & Packing up.
Configuring and Deploying Web Applications Lesson 7.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
Intro to APACHE, MySQL, and PHP & freely available (hackable) Packages Aonghus Sugrue 04 Oct 2012.
Working with ASP.NET Controls What is ASP.NET Using server controls in your pages Allowing users to create their own accounts Creating a login page Letting.
Leveraging Web Content Management in SharePoint 2013 Christina Wheeler.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio Training - Alarm System.
Wes Preston DEV 202. Audience: Info Workers, Dev A deeper dive into use-cases where client-side rendering (CSR) and SharePoint’s JS Link property can.
7 Adding Signatures to s Step 1 Click on ‘Tools’ option in the toolbar at the top of the page. Click on ‘Options’
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
Template Package  Presented by G.Nagaraju.  What is Template Package?  Why we use Template Package?  Where we use Template Package?  How we create.
How to use Drupal Awdhesh Kumar (Team Leader) Presentation Topic.
Linux Basics Part 2. VIM Editor vi improved Installed on most Linux machines Can be a bit confusing at first... o Cheat sheets FTW Other popular editors:
ChatOps for Distributed Teams, Fun, and Pr ofit Michael Sherron, Technical Architect Chris Urban, Delivery Manager.
#! Phil Norton Getting Started With Jenkins and Drupal DrupalCampNW 2013.
Understanding QlikView Web Parts for SharePoint
Stop Those Prying Eyes Getting to Your Data
Understanding QlikView Web Parts for SharePoint
Top 8 Best Programming Languages To Learn
Active Server Pages Computer Science 40S.
IT Atoumation / Conf. Mgmt...
VISUAL AUTOMATED REGRESSION TESTING - Sriram Angajala
Microsoft FrontPage 2003 Illustrated Complete
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Client-Side Validation with Javascript
Welcome to Automated Visual regression testing
JENKINS TIPS Ideas for making your life with Jenkins easier
CSc 337 Lecture 1: post.
ACCELERATE YOUR SITECORE WEBSITE DELIVERY WITH SITECORE SXA
CSc 337 Lecture 18: post.
WEB DESIGN Cross 11, Tapovan Enclave Nala pani Road, Dehradun : ,
How To Repair PDF File After Disk Crash???. What is PDF file..??? PDF file is portable document file. This file format is used during the exchange .
Presentation transcript:

Add Automated Testing to Your Project in an Afternoon Michael Sherron, Technical Architect

About Me →Michael Sherron →Drupalist, 6 years →Technical Architect, Acquia →‘Raised’ in small Drupal Shops

Testing protects you from fail →Most people know the benefits of Test automation →Small shops often overworked →Some clients won’t pay for it

What is Wraith? →Visual Regression Testing tool →Automates comparing screenshots of pages across different environments →If screenshots are different, an error is triggered →Provides nice gallery to view screenshots →Easy to implement

Isn’t this for theme testing? What can Wraith do? →Can crawl an entire site out of the box →Can test responsively →Will report an error if:  elements are missing or broken on the page  WSOD  Default red error text is displayed

Wraith != Behat →This is an MVP testing solution. →Great for simple sites with mostly anonymous traffic. →You really should learn Behat or similar. →Doesn’t handle:  Authenticated users  Transaction-based tests (user signup, cart checkouts, etc)

… But if you have Behat, Wraith is still great! →Visual Regression testing will catch things Behat can’t. →Page elements moved/changed unexpectedly

Requirements →Can be run locally or on a remote server. →Root/Sudo access. →At least one production and one test environment. →Familiarity with package managers:  Apt-get  Homebrew →Dependencies:  Ruby  ImageMagick  PhantomJS  NodeJS  NPM sudo apt-get install ruby-full

How to install and configure →Run `wraith setup` →Edit configs/capture.yaml →Optional: edit configs/spider.yaml

Unleash Ghost Army

Automation →Can add to test servers crontab, run nightly →Add as post-deploy shell script to Jenkins →Failures can trigger an

.. But what about dynamic content? DevProd

Questions?.. And Many Thanks →BBC →DrupalVM →Phase 2 →Mark Sakurada, Acquia

References →Wraith: →Awesome Vagrant Env, DrupalVM: →Phase 2: →Mark Sakurada, Acquia