If your tests never fail than functional tests are all that you need. But if something fails in your functional test, how do you go about determining where it is failing? It is this for which Unit tests excel. It definitely gives _me_ the warm fuzzies when I can verify the changes to one specific module still does what the tests expect them to do.

In theory, the functional tests are redundant since if all the Unit tests work, then of course all the functional tests will work as well. But then, we know that theory doesn't always map correctly to reality.

In reply to Re: Functional and Unit Test Redundancy by torin
in thread Functional and Unit Test Redundancy by saintbrie

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":