Web Oriented Object Framework

User Guide (Version 0.5b4)

Woof!
User Guide (Version 0.5b4)

Verifying controller stubs

When generating stubs using wag, it is sometimes easy to lose track of which stubs have actually been implemented and which are still to be written. The verify command provides a way of checking which stubs remain to be written.

The example below is a continuation of the one in the previous section.

> tclsh scripts/wag.tcl verify
ApplicationController: no stubs found.
MathController:
        Action method stubs:
                multiply

        View stubs:
                app/controllers/views/math-multiply-main.wtf

The output shows that we have not actually implemented the stubs for the multiply action method and corresponding view.