Functional Test Matrix, a visualization

| | Comments (3)
[UPDATE: the final version of this code was added to ZenTest 3.5.0] As continuation from my previous post, I offer a visualization to help clarify things:
Before After
Click the images to see the code in more detail.

The most important thing to understand is that every matrix line from the "after" version like:

matrix :edit, :edit, :edit, :edit, :edit, :e_RO, :e_RO, :e_RO, :e_RO
is an entire page of the "before" version.

3 Comments

The use of single letters like u_w, g_r, etc is making my small brain hurt. I'm to assume u_w is split into [:u, :w] as the parameters for matrix_setup.

To clarify:

Method #matrix_setup_ACTION has ACTION matching to the :edit action (the first argument of each #matrix call).

And #matrix_test_ASSERT has ASSERT matching to each of the +test/-test test cases.

Is that right? I think I still prefer #action versus #matrix, and thus the setup method would be #action_setup_ACTION.

All my beautiful underscores are gone. sigh.

underscores fixed.

how to specify what markup thingy to apply to comments??? argh!

Leave a comment

About this Entry

This page contains a single entry by zenspider published on April 11, 2007 12:02 AM.

Functional Test Matrix, cont. (sorta) was the previous entry in this blog.

I doubt I'll have another release of ZenHacks, so.... STIW4 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.32-en