Testing console commands

Hi all,

I recently re-factored some of my models. Later I learned, that broke one of my console commands. So I thought it would be a good idea to add them to my tests, simply for coverage reasons.

Is there a recommended way of doing this? I didn’t find a whole lot on this topic. Testing controllers leads to functional tests, but they seem to be very centered around HTTP requests.


Thanks, guess that will help. :)