Ok all,
so I know I can use MXUnit to test my functions, or some of my functions using TDD style of TestBox.
if I want to do BDD style of testing, which to me is testing the process such as a login process, or a search process, how do I do this?
we have an old version of coldbox but are doing mvc. In my BDD unit test, do i test how the handler is calling the models for say the login process, or do i directly call the models in my BDD test and make sure it works that way? I thought I would be testing my “doLogin” handler function to make sure it calls the right model files to verify the user can log in…am i right, i am testing my handler files, or testing if the models all do what they should to allow the user to login…again, just an example…
any help here would be greatly appreciated.
thanks
dan