Eliminating Repetition from Tests
You'll notice a lot of potential for repetition in the CanLogIntoSite test.
· Every WatiN test will have a URL starting with http://localhost:9999.
· Many tests will require the user to be logged in.
· Multiple tests might want to verify the currently…
Using WatiN to Test a Local Web site
Now that we have successfully run a simple WatiN test against a remote Web site, we turn our attention to using WatiN to test ScrewTurn Wiki. We won't want to deploy ScrewTurn Wiki to a server every time we want to run our acceptance test suite using WatiN.
Of Tightropes and Tests
Applying a strong suite of automated tests provides a codebase with a safety net. Developers can modify code protected by tests in relative safety. Method implementations can be changed, class hierarchies refactored, and code improved in a myriad of ways.
Let me give you a very brief introduction to MSBuild. In MSBuild terminology, build steps are called "targets." We will define three common targets initially: Clean, Init, and Compile. You can create other targets to automate other common tasks such as running
tests, creating installer…
Creating an Automated Build Script
In creating a build script, we want to automate common tasks for building the project source code as much as possible. Whether you know it or not, you are already using build scripts. When you create a new project, Visual Studio creates a build script for
All software development projects should use a version control system (VCS) for tracking and coordinating changes to code files and other project artifacts. The size of the project team doesn't matter as even a single developer benefits from using version
control. If you are…
I don’t have to remind everyone that we’re in the middle of a world-wide economic downturn. When the economy is good, it is hard enough to convince your client to re-build an application from scratch. When the economy is bad, it is close to impossible. As
developers, we’re going to see more push…
akMSFTApr 28, 2009 at 8:55 PM0
Avg Rating: 5
I am sure many of you are regular readers of
MSDN Magazine. We are happy to announce the launch of a new "patterns & practices" column starting with the May 2009 issue. Alex Homer from the p&p team authors the first installment: You Can Depend On Patterns and