c++ - Google Mocks test output to XML not working -
c++ - Google Mocks test output to XML not working -
i have been using google test few months , have
--gtest_output=xml:$(targetdir)\$(solutionname).unittest.results.$
(configuration).xml
as command arguments in vs2010 test project. has been working output test results xml.
i have been adding in google mocks , have tests working , google mocks working, don't test result in file. how xml file of test results , mock results?
i have not been able find info on this.
turns out 1 of mock functions not returning valid value , test application exiting before xml file generated. after fixed unit test need setup on mocked function. unit tests finish , xml file generated.
c++ googletest googlemock
Comments
Post a Comment