[cse491] Part 3 (testing apps.py)

C. Titus Brown ctb at msu.edu
Wed Oct 28 18:58:57 PDT 2009


Hi all,

I just gave some advice to Jun that seemed worth passing on: if you are
wondering how much to test for part 3, a good answer is the answer to
this question: how do you know whether or not your tests are working?

It's trivial to write passing tests, after all: just make sure they don't
actually do anything.

The answer is, try *breaking the code in apps.py*.  If you can find a
line of code in apps.py that you can delete or eliminate without having
at least one test fail, then you should consider writing another test for
that line of code.

Make any sense?

cheers,
--titus
-- 
C. Titus Brown, ctb at msu.edu



More information about the cse491-fall-2009 mailing list