Wednesday, March 21, 2007
I think we will be doing this at work. Coding Horror: The "Works on My Machine" Certification Program: " 1. Compile your application code. Getting the latest version of any recent code changes from other developers is purely optional and not a requirement for certification. 2. Launch the application or website that has just been compiled. 3. Cause one code path in the code you're checking in to be executed. The preferred way to do this is with ad-hoc manual testing of the simplest possible case for the feature in question. Omit this step if the code change was less than five lines, or if, in the developer's professional opinion, the code change could not possibly result in an error. 4. Check the code changes into your version control system. Congratulations! You're fully certified. Brand your app with your shiny new Works on My Machine badge. You'll certainly want to show it off to your fellow team members and key stakeholders. But please-- do try to keep your ego in check. Not everyone is capable of such an epic commitment to quality in software engineering."