Hello! I conquer C ++ and rivet my first "serious" application. As it should be, ideally, I want to impose it completely on unit tests. And I would like to clarify whether there is the possibility of automatic tests for user input? Or is there only an exception to help? Thanks to all

  • one
    Exceptions and modular test are not orthogonal concepts, therefore applying the words “or” to them is not clear to me. - ixSci
  • Tests can be written to the fact that the function will throw exceptions with certain input parameters ... - Chorkov
  • What you are trying to do probably fits the category "validation of input parameters of functions". - 0andriy

0