I’m starting a new application, and want it to be tested out the wazoo.
Do people duplicate tests in both unit and functional tests? Say I
have a Product model. I write tests that make sure that it acts
appropriately (tests the validations and so forth). Is it good
practice to also write the functional tests for the same sort of tests
(i.e. make sure that the validations are working correctly and put the
correct things inside the error div)?