tdd - Write Generic Test Cases in Behavior Driven Development -


can write generic test cases in bdd? mean have generic test class, , have instantiator instantiate value want , execute test?

bdd has strong focus on customer communication, recommend not write generic test cases, harder customer understand. example, prefer:

authenticates_user_with_4_digit_password authenticates_user_with_8_digit_password 

however, should works best situation , if customer understands generic test case, should use it.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -