Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Current Automation Stack - 7/26 Lightning Talk

Current Automation Stack - 7/26 Lightning Talk

This is a lightning talk that I gave on what I am currently using to automate our UI testing. The lightning talk was for the Austin Quality Software Development Meetup in Austin, TX.

Avatar for Evan Niedojadlo

Evan Niedojadlo

August 27, 2017
Tweet

More Decks by Evan Niedojadlo

Other Decks in Programming

Transcript

  1. Peddle is a modern car buying service that makes selling

    any car fast, easy, and awesome. We were founded in 2004 as Junk my Car and became Peddle in 2012. We currently employ about 50 Peddlers total, both here at our Austin HQ and remotely across the country. What is Peddle?
  2. • Python 3+ • Pytest Framework + Selenium with the

    following (pytest-randomly, pytest-rerunfailures, pytest-xdist) • TeamCity (for our Continuous Integration server) • GitHub (hosts all of our automation projects) • Codebeat via Github Marketplace (automated code review) • Slack (ChatOps where our test results are posted) • SauceLabs (Where our tests are executed) What does our current stack look like?
  3. Our entire test suite utilizes the Page Object Model (future-proofing

    maintenance, reusability, test readability) test specifics (test design)
  4. Every one of our tests is atomic meaning that it

    doesn’t rely on another test to run. This allows us to run our tests in parallel. We utilize pytest markers which allows us to add a parameter to a command in a build step to run those specific tests e.g. pytest -m deep will run timely tests We try and utilize CRUD (create, read, update, delete) in our end to end test whenever possible test specifics (test design)
  5. We utilize Slack for ChatOps and post test results to

    specified channels where visible to all stakeholders test specifics (test design)
  6. We use an in-house electron application that empowers our manual

    team to utilize automation test specifics (test design)
  7. The Selenium Guidebook by Dave Haeffner https://seleniumguidebook.com/ Python Testing with

    pytest by Brian Okken https://pragprog.com/book/bopytest/python-testing-with-pytest Test and Code podcast with Brian Okken http://testandcode.com/ Talk talks podcast with Joe Colantonio https://joecolantonio.com/testtalks/ SauceLabs training https://training.saucelabs.com/courses Resources relating to this lightning talk