c++ - GMOCK - whats the benefit over running my sample code -
i started learning gmock - functionality test c++ class methods. after doing sample of them not understand why doing via gmock - round way / technique test methods. find gmock test whether given input code gives desired output.
so sample code i.e. writing sample code calling class methods so? can verify output confirm.
now code in layered architecture , 1 team owns 2 layers of ownership. second layer calls interfaces of third layer belonging other team. assume second layer of code highly volatile modification related third layer's api. each time touch modify gmock interfaces also.
gcc , other compilers gives options link , bind defined methods user defined methods.
exactly benefiting using gmock? might missing hence reason post query.
Comments
Post a Comment