Integration of social networks is very common in every application. We have many gems are available for doing integration. But testing this social integration is complicated task. Using capybara with cucumber we can easily test this similar to the normal UI testing through capybara. Step 1: Set up default driver to selenium. Step 2: Generate … Continue reading Learn How To Test Social Networks Using Capybara, Cucumber Rails, & Selenium
Month: July 2011
Discover How To Test Ajax Forms Using Capybara, Cucumber Rails, & Selenium
Manual UI testing plays a crucial part in test life cycle. However doing the same UI testing on every other day will became tedious. By using cucumber with capybara we can transform these mundane tasks into some interesting learning. We can easily automate manual UI testing by using capybara with cucumber. While automating, ajax forms … Continue reading Discover How To Test Ajax Forms Using Capybara, Cucumber Rails, & Selenium
Learn How Factory Girl Works With Non-active Record Classes
In earlier post we have seen how to test active record associations with factory girl. Now we will learn how factory girl works with non-active record classes. When we want to test external API responses, this will be useful. By using this we can build no of responses at a time and test, how system … Continue reading Learn How Factory Girl Works With Non-active Record Classes
