How to do Unit testing in OpenCV?
In OpenCV v3.3.1, v3.3.1:
Say for example, there is a certain module an API named get/set in VideoCapture Class, how to unit test accuracy and test performance, i Would that API?
There is Code for doing unit testing the get/set API's in doTEST() of doTEST() function in this link
I would like to Know, how to run this test case?
If there is Any possible way to add a new test case in this code, and would like to test on that? Also, is there any excel sheet saved for this output of the unit testing.?
My TRY:
Making OpenCV_videoio.cpp as startup project and building, running. ocl_test.cpp from openCvCode Reference for initial running runs and shows me in Command Line, that too without my knowledge it closes, as it is finished executing.
So, please let me know how those tests were run, also will there be any stepwise instructions on how to add new api's do this testing in the opencv opencv(unit testing) for the unit testing under VideoCapture class. How does the unit testing in OpenCV Really works? an API check?
Thanks in Advance..Advance...