Extreme Programming With DUnit Peoria IL

You have probably heard of Extreme Programming, or XP (no, I don't think Microsoft had it in mind when they named the latest version of Windows). XP encourages you to be obsessive about testing your code and to refactor at the drop of a hat.

Local Companies

American Business Systems
(309) 637-0207
1125 N Sheridan Rd
Peoria, IL
American Business Systems
(309) 637-0207
1125 N Sheridon Rd
Peoria, IL
Bradfield's Computer Supply
(309) 676-0404
2306 S.W. Adams
Peoria, IL
Gamestop
(309) 679-8086
2200 W War Memorial Dr Ste 206
Peoria, IL
Cian Inc
(309) 691-3000
1717 W Candletree Dr Ste B
Peoria, IL
Computer Deli
(309) 692-4100
4615 N Sheridan Rd
Peoria, IL
American Electronic Appliances Service Department
(309) 589-3000
5801 W War Memorial Dr
Peoria, IL
Best Buy
(309) 689-0277
5001 N Big Hollow Rd Ste 3a
Peoria, IL
Advanced Technology Services
(309) 693-4000
8201 N University St Ste 1
Peoria, IL
Facet Computers
(309) 353-4727
2103 Court Street
Pekin, IL

Rob Bracken checks out what extreme programming using DUnit can do for your application development.

You have probably heard of Extreme Programming, or XP (no, I don't think Microsoft had it in mind when they named the latest version of Windows). XP encourages you to be obsessive about testing your code and to refactor at the drop of a hat. XP and refactoring complement each other well, as you wouldn't be confident about refactoring unless you could test the refactored system.

Even if you don't do much refactoring, however, it's a good idea to test the system occasionally. Moreover, if you set up a series of tests that automatically test your code, you can check any later changes you make. So, if the boss's 10 year old son has shown him how to do a Word mail merge you can add that feature, confident you haven't broken anything somewhere else in the system. Then, when Borland releases the next version of Delphi with the latest snappy features, or the company standardises on a different back- end database, you can migrate your code to it with the minimum of fuss, fixing anything that fails the tests. Finally, when the propellor- head who programmed the vital routine that holds the whole system together leaves the company, you can still maintain it, as your changes won't pass the tests unless the routine continues to do what it was designed to do. I'm sure you can think of other good reasons for maintaining a test suite.

If you're following XP's rules, you'll write the tests for a routine before you write the routine. Then, when it passes the tests, you can be sure it does what it's supposed to do. It's actually easier to write the code once you've written the tests. The quality of your code improves, you spend less time troubleshooting and fire-fighting, etc, etc (but you've heard these arguments before, haven't you?). You don't, however, have to do the full XP bit to take advantage of the benefits of automatic testing....

Click here to read the rest of the article at HowToDoThings.com

Author: brian shaifer

Featured Local Company

American Business Systems

(309) 637-0207
1125 N Sheridan Rd
Peoria, IL
http://www.american-business-systems.com

Related Articles
- A Sentinel to Screen Phone Calls Peoria IL
The following software tips contain all the information you need to know about screening phone calls with a sentinel. Read on to learn more about this latest technological innovation.
- A Tiny Silicon Clock Peoria IL
- About Fans Peoria IL
- About VoIP Peoria IL
- A guide to Windows Home Server Peoria IL
- Digital Photography Equipment Peoria IL
- Accessing the Apple TV Settings Peoria IL
- 3G Wireless Capacities Peoria IL
- Acer-Gateway Deal Peoria IL
Related Articles
- A Sentinel to Screen Phone Calls Peoria IL
The following software tips contain all the information you need to know about screening phone calls with a sentinel. Read on to learn more about this latest technological innovation.
- A Tiny Silicon Clock Peoria IL
- About Fans Peoria IL
- About VoIP Peoria IL
- A guide to Windows Home Server Peoria IL
- Digital Photography Equipment Peoria IL
- Accessing the Apple TV Settings Peoria IL
- 3G Wireless Capacities Peoria IL
- Acer-Gateway Deal Peoria IL

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Advertising Family Home Services Real Estate Resources
Business Services Fashion Industrial Goods & Services Retail & Consumer Services
Career Financial Services Insurance Software
Cars Food & Beverage Internet Technology
Computer Hardware Franchise Legal Telecommunications
Construction Health Miscellaneous Trade Shows
Education Holidays Nightlife Travel
Entertainment Home Appliances Online Database Weddings
Environmental Home Electronics Pets World History