Sessions at RailsConf 2012 about Testing with slides

Your current filters are…


Wednesday 25th April 2012

  • MiniTest: Refactoring Test Unit and RSpec back to version 0.0.1

    by Jared Ning

    MiniTest is the no-nonsense testing framework you already know how to use. If we strive for cleaner and simpler code in our own work, wouldn't it be nice to have that in our test framework too? Whether you're a Test Unit fan or RSpec fan, you'll feel right at home using MiniTest. Its simplicity makes it fast, easy to use, extendable, and maybe most importantly, easy to understand. Plus, Rails 4 uses MiniTest.

    At 1:30pm to 2:15pm, Wednesday 25th April

    In Salon J, Hilton Austin Downtown

  • Testing Best Practices, or The Five Habits of Highly Effective Tests

    by Noel Rappin

    There’s all kinds of discussion on how to make test processes work, and how to make tests fast, but it sometimes seems like there’s not much discussion on how to make tests useful. What makes a BDD test valuable, in that it will save more time that it will cost in maintenance? I’ll claim that there are five things that you should look for in your tests: independence, repeatability, clarity, conciseness, and robustness. These features will make the tests easier to write, easier to verify, and easier to keep consistent as your application becomes more complicated. You’ll leave this talk ready and able to write great tests.

    At 2:30pm to 3:00pm, Wednesday 25th April

    In Room 616, Hilton Austin Downtown

  • Introduction to RSpec

    by Jon "Lark" Larkowski

    “A testing tool by any other other name would assert as truthy.” – some guy. You’ve seen Rails’ built-in Test::Unit in the morning session. This afternoon, we’ll introduce RSpec, another popular testing tool. We’ll overview basic structure, contexts, “should” expectations, mocking and stubbing. We’ll also cover Rails model, view, controller, routing, helper, and request specs.

    At 3:00pm to 3:30pm, Wednesday 25th April

    In Room 616, Hilton Austin Downtown

Schedule incomplete?

Add a new session

Filter by Day

Filter by coverage

Filter by Topic

Filter by Venue

Filter by Space