Browse by Tags
All Tags »
TestDriven.NET (
RSS)
Testing with the NUnit Framework NUnit is free to download and use. Better yet, it already comes with functionality built in that had to be created to be used by a console application, and even then the console application did not perform as seamlessly. Create a new Solution To begin, since we eventually will be using WatiN to test our web site, create a new project by selecting the type of web site you want to create. (Note: To test a legacy web site that has already been created, you would just...
There are a number of things related to the mechanics of testing that need to be worked out, such as what types of tests to run, how to structure test projects, and even how to run the tests effectively. Types of Testing There are many types of tests in addition to unit tests, some of which frequently get mistakenly referred to as unit tests. They all have their places and all testing is good, so it is easy to fall into the mind set of thinking it does not matter what type of testing is being done...
There are a number of ways to test web pages and the server side or back-end classes that support the UI. Many are expensive, some are free or open source. I have chosen to focus on using WatiN for testing web pages, supported by the WatiN Test Recorder. WatiN is an open source tool which extends VB.NET (and C#) for testing the UI portions of a web site, WatiN is basically a .NET version of the popular WatiR test framework used for testing Ruby, and was created by Jeroen van Menen. WatiN Recorder...
So, I am new to blogging. I plan to use this space to discuss issues related to testing in the VB.NET environment with emphasis on using NUnit, TestDriven.NET and WatiN. There are certainly many other options for testing, but I'll let someone else cover most of those. I want to focus on tools that are free to use and that will help us all to be better developers if we learn to use them in our daily work. A little about me...I started programming on the TRS-80, which for those that don't know...