This video provides an overview of the methodology used to easily unit test your Asp.Net (aspx) pages with the open source dll ApprovalTests.
Many teams have tried to implement agile software development practices and failed. When you read about transitioning to agile development, it sounds so easy. Why don’t all of them succeed and why do so many agile adoptions go so badly? In particular, testing seems to get off track.
Running your SQL Server database unit tests within the scope of a single transaction allows you to roll back any changes that the test enacted after the test ends. This article propose a step by step approach to achieve this goal. You start to create a transaction in your Transact-SQL test script that uses BEGIN TRANSACTION and ROLLBACK TRANSACTION. Then you will create a transaction for a single test method in a test class and then a transaction for all test methods in a given test class.
For Node, there are two types of automated testing: unit testing and acceptance testing. Unit testing tests code logic directly and is applicable to all types of applications. Acceptance testing, however, is an additional layer of testing most commonly used for web applications. This article discusses the Tobi and Soda frameworks for acceptance testing.
This video presents Google Code convictions about creating tests for test-unfriendly code and the larger topic of testing. Project Hosting at Google Code is a large, well-established system written mostly in Python. When launched, Project Hosting’s testing consisted of the stock Subversion test suite and a handful of ad hoc smoke test scripts that required starting the entire system and manually inspecting the test’s output.
This blog post provides a detail process on how to write acceptance tests for the UI using Visual Studio 2010 Microsoft Test Manager and Fit style tables. Fit tables, originally defined for the fitnesse open source software testing tool, allow stakeholders and business analysts to enter expected input and the proper output in a tool they are comfortable wit, like word processor or a spreadsheet.
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.