It's All Data 1

Posted by Brett Schuchert Wed, 14 May 2008 16:37:00 GMT

<sarcasm>

“So, you managed to pick stories that only involved changing data…”

“Yep.”

Great, there’s no need to test it, right?

Therefore, testing Java classes is unnecessary.
  1. The JVM simply reads files in a particular format (the Java Class format)
  2. The JVM processes those files
  3. Java class files are just data to the JVM
  4. Java source files are just data to the Java Compiler to generate data used by the JVM
  5. We do not need to test data changes
  6. Therefore we do not need to test Java classes.

q.e.d.

Then Norbert asked “Oh, by the way, did you version your data changes?”

</sarcasm>

Comments

Leave a response

  1. Avatar
    George Dinwiddie 6 days later:

    <snicker/>

    I ran across this years ago on a project that put business rules in the database so they could be easily changed. Without testing. Without versioning. “But it’s just data!”

    Anything that changes the behavior of the system needs testing and versioning.

Comments