Vote for My Idea – Enhanced Apex Testing Functionality

April 9th, 2009

ideas-logoI just posted the following Salesforce.com Idea and am offering a reward for each individual that votes for it. I will personally email you a genuine slice of Florida sunshine directly from the beach (restrictions apply; see below for details). Here’s my idea:

“Writing test cases is both tedious and necessary. Help developers out by developing a framework of testing services that we often are forced to write over and over and over again.

Similar to JUnit, provide the ability to create and run individual test suites instead of all tests.

Implement a setUp() method that initializes common object and a tearDown() method to cleanup those objects after each test.

Add the functionality to create test fixtures. A test fixture is useful if you have two or more tests for a common set of objects. Using a test fixture avoids duplicating the test code necessary to initialize and cleanup common objects for each test.”

Vote for this idea – RIGHT NOW!

Restrictions: Offer includes FL west coast sunshine only. Sunshine cannot be returned in exchange for FL water (we have none) or twilight. Offer limited to sunshine during peak viewing times. One size fits all. Sunshine may cause eye irritation; please do not look directly into sunshine. Sunshine may burn skin; please wear clothes while viewing sunshine. Not applicable to residents of Florida or people that live on the continent of Central America.

VN:F [1.9.3_1094]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay

Categories: Apex, Salesforce

Leave a comment

Comments Feed2 Comments

  1. David Claiborne

    Jeff,

    Just found your ideas. I voted for it. If you can get my idea in too, I will buy you a drink in the French Quarter in New Orleans.

    My testing problem is auto-numbered fields. My current app is about 25 apex classes that create a lot of dummy data to test everything (think ERP in salesforce.com – http://www.bmighty.com/ebusiness/showArticle.jhtml?articleID=216500305). The problem is that when you add a single line of changed code, all the tests run, and all the auto-numbered record names increase, sometimes by a couple of hundred by the time all the test execute. It makes the users upset.

    VA:F [1.9.3_1094]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.3_1094]
    Rating: 0 (from 0 votes)
  2. David Claiborne

    BTW, I love your quote from Arthur Clarke. But it was Asimov who turned it into a story.

    VA:F [1.9.3_1094]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.3_1094]
    Rating: 0 (from 0 votes)

Leave a comment

Feed

http://blog.jeffdouglas.com / Vote for My Idea – Enhanced Apex Testing Functionality

WordPress Appliance - Powered by TurnKey Linux