Episodes tagged with “testing”
-
11
Refactoring User Name Part 2 Other translations:
Having moved code from the view to the model in part one, we'll refactor it and write some tests to make sure it all still works as expected.
Tags: refactoring testing
-
12
Refactoring User Name Part 3 Other translations:
In the final part of the episodes on testing and refactoring we'll refactor our test code.
Tags: refactoring testing
-
155
Beginning With Cucumber Other translations:
Cucumber is a testing framework that lets you develop with Behaviour-Driven Development. We develop a new application using BDD in this episode.
-
157
RSpec Matchers and Macros
Improve readability and remove duplication in RSpec by making use of matchers and macros.
-
156
Webrat
Using Webrat allows you to write integration tests in Ruby, rather than in English as you would with Cucumber.
-
158
Factories Not Fixtures
Fixtures can make tests brittle and difficult to read. A better alternative is to use factories to create the necessary objects.
-
159
More on Cucumber
There's more to Cucumber than was shown in episode 155. Learn how to refactor complex scenarios in this episode.
-
166
Metric Fu
Metric Fu is a compliation of tools that help you find the places in your code that need improvement. See what they have to say about the Railscasts codebase.
-
187
Testing Exceptions Other translations:
Even well tested code can sometimes raise exceptions. In this episode we show you how to be notified about this and how to resolve these errors by making use of integration tests.
-
186
Pickle With Cucumber
Pickle adds a number of convenient Cucumber steps for generating models. Learn how to use Cucumber's table diffs as well.
