We're going to create a few tests for the validators we created in Chapter 5, Handling Form Input. In our directory structure, we have the
test directories. I'll give you two seconds to determine under which directory our tests should go… got it? If you said
src, then I have failed to achieve the modest task that was my charge. We will be storing our tests in the
test directory using the following steps:
user_validator_test.clj, define our namespace and include the
clojure.testnamespace and the namespace we wish to test—in our case, the ...