Aaron Greenlee.com | A Personal Journey.
You should follow me here.
This is the RSS subscription you have been looking for.
 
Wrecking Ball Media
A great team that is clearing the way for digital marketing.

Have you thought about joining the Central Florida Web Developers User Group?

Results filtered using the keyword: testing.

Tests that Guard Against Changes to Your Software

POSTED Sunday, June 27, 2010
Keywords: Testing, ColdBox, ColdFusion

Those who augment their development practice to include unit-testing--as I hope you have if you are following this series--can help insure they continue to embrace the discipline of 'test first' by saving their understanding of the software-under-test (SUT) within the actual test. This practice guards against you or another developer modifying the SUT without informing the test. For example, if someone adds a new property or function your test can alert you. This practice provides a little insurance to keep you honest to your promise to test first.

This practice can also check the implicit functions found within the SUT. Generally, I only check for the functions/methods I explicitly define within the SUT and ignore the implicit assessors provided by ColdFusion 9. But, the samples below can check for both if desired.

First Steps with Unit Testing and ColdFusion

POSTED Wednesday, June 16, 2010
Keywords: Testing, ColdBox, ColdFusion

A unit test isolates and executes a small part of your software and compares the result with your expectations. The small part of your software being tested is generally called the Software-Under-Test (SUT). Isolation of the software (SUT) is improved when you fake the dependencies. Faking the dependencies is called 'Mocking'. Mocking will be covered in the next post in this series.

Getting Started with Unit Testing and Mocking

POSTED Friday, June 4, 2010
Keywords: Testing, ColdBox, ColdFusion

A few weeks ago I gave a free day of training to members of the Central Florida Web Developers User Group on ColdFusion's ColdBox framework. The training was a success. Everyone recognized the benefits of the framework and embracing the design patterns shown. In fact, one member who manages a site that yields 150,000 visits monthly has started to convert their existing spaghetti site to the ColdBox framework. The features of the ColdBox framework that stood out to those who attended were debugging, caching, plugins, interceptors—and testing.

You can send me email or work with
   me for digital marketing, web design
      and application development.

         I own proprietary web application development
         company and work with a leading digital marketing firm.
© 2009 - 2012 Aaron Greenlee. Powered by my own code on the ColdBox Framework.

This site is best viewed on Chrome, FireFox and Safari. Subscribe to my RSS feed.