LinkedIn Ruby-Based, Page-Model-Oriented Testing Framework with Selenium
Published August 30th, 2010 Under Functional Testing | Leave a Comment
We all know that UI test automation for any complex, rapidly changing web application can be daunting. Authoring effective tests is often painstaking, and the maintenance burden of keeping them kicking is generally hefty. In order to stay on top and keep our QA team in good mental health here at LinkedIn, we’ve adopted the page object pattern and implemented it in a way that solves some of the common headache-inducing problems around test automation. Wade Catron will demonstrate how this approach affords us a natural feeling, driver-independent test API with a tidy home for element locator mappings, producing tests that are robust, readable, and easy to fix.
Video producer: San Francisco Selenium User Group
Testing C# and ASP.Net Applications Using Ruby
Published August 4th, 2010 Under Functional Testing | Leave a Comment
Ben Hall shows how Ruby testing tools can help with .NET and ASP.NET development and takes a look at RSpec, Webrat, Cucumber, Selenium and others. Also: a peek at using IronRuby for testing .NET apps.
http://www.infoq.com/presentations/hall-testing-with-ruby
Grease your Suite: Tips and Tricks for Faster Testing
Published July 15th, 2010 Under Unit Testing | Leave a Comment
Continuous integration is a great way to keep your code base organized and well tested. But when a test suite takes so long to run that developers stop running it before every commit, they lose their constant feedback loop and quality drops. In this talk we’ll explore methods of speeding up the test suite so that developers can be confident about the code they’ve written before they share it with the team. We’ll start with quick cheap fixes, like optimizing your operating system, that can yield drastic results (like cutting test time in half!) with no loss of functionality. We’ll also cover methods of writing tests that reduce their run time with gems like fast_context for shoulda. At then end, we’ll move to more involved methods of multi-tasking your test suite to run on all the cores in your workstation and even to setting up a distributed testing cloud to run all your tests in parallel. Every tactic will be backed up with hard benchmarks from real production code. We’ll show the evolution of a test suite from its full run time of 13 minutes down to a number you won’t believe.
Video Producer: Gotham Ruby Conference
Learning TDD through Test-first Teaching
Published July 5th, 2010 Under Unit Testing | Leave a Comment
How to get started with TDD? Test-First Teaching is an innovative teaching approach that is gaining widespread adoption. Sarah Allen talks about how she teaches Ruby and Rails through a test-first approach. She demonstrates test-first teaching and then discuss how to turn the corner from simply making tests pass to how to use a test-first approach to software design.
Video Producer: East Bay Ruby Meetup Group
Code Metrics with Metric Fu
Published May 17th, 2010 Under Software Testing | Leave a Comment
Maintainability of your code can be measured in many different ways. Jake Scruggs has combined several of the tools that measure you code into one Ruby Gem: metric_fu.