Tutorials, articles, tools and resources on how to apply functional testing in software testing
If you are writing automated through-the-GUI tests for a web application, you are in danger of creating software tests that are more expensive to maintain than they are worth. With well-factored Selenium RC tests running in Junit or TestNG, you can keep your abstraction layers or “Lingos” – small bounded bits of slang for discrete parts of the object model – separate, thereby reducing the maintenance costs of your tests, and improving your sanity.
This guide presents the mechanisms available to test your Ruby on Rails application. After an introduction to software testing in the Ruby on Rails context, the guide explains how to perform unit testing on your models and functional testing for the controllers. The guide also explains how Rails provides a generator to create an integration test skeleton. At the end, the guide proposes other popular testing approaches and plugins that could be used to test Ruby on Rails applications.
In this blog post, Mark Barne shares some useful tips and techniques to challenge those attempting to adopt acceptance test driven development within a corporate environment. Amongst the tips that I liked the best I will mention “Don’t clean up after tests”. Leaving the data created by the test can help immensely when issues are found. “Create unique contexts for each test”. To prevent tests stepping on each other’s toes if they are run in parallel, create a unique context for the test. “Don’t write the test at all.” If the story doesn’t have much value, or the the systems you are using are not in your control and are not test friendly then stop just short of automating it.
This tutorial introduces the Selenium WebDriver API. It presents how to mimic usage of the following HTML elements: link , button, checkbox, select combo box, alert box and table. A video explains how to record the Selenium scenario and the code of the examples is stored in github.
This blog post presents an interesting vision of how functional software testing works. It discusses the lack of profiency in functional testing and references James Bach SFDPO (Structure, Function, Data, Platform, Operations) heuristic as a guide for providing new functional testing perspectives.
Selenium is a popular framework for testing the user interface (UI) of a web application. It is an extremely powerful tool for running end-to-end functional tests. You can write tests in several programming languages and Selenium executes them into one or multiple browsers.
The FlexMonkium tools provide a consistent Flex application GUI object recognition solution with strong support for the constant Flash plug-in updates. With FlexMonkium, Flex recording and playback is seamlessly interleaved with native Selenium recording and playback. This article provides step-by-step instructions to make Rational Functional Tester works in combination with Selenium and FlexMonkium.