luminus

eskemojoe007 2019-05-29T14:24:59.012600Z

Pretty new to this. Trying to make some tests for some validator functions within my routes. Writing a function called validate-email in clj/routes/home.clj. Where is the best practice place to put that test? test/clj/<PROJ>/test/handler.clj or test/clj/<PROJ>/test/routes/home.clj

lepistane 2019-05-29T15:18:58.013400Z

if you defined it in /src/routes/home.clj then test/routes/home.clj

👍 1