apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Test cases in Predictor

Open kk2491 opened this issue 8 years ago • 6 comments

Hi All,

I have recently started working on Apollo.

Can anybody please tell me how to use then test cases in predictor?

Update: I have noticed many test programs in the apollo which uses gtest to perform unit testing. Could you please let me know the procedure to use these test cases?

Thank you, KK

kk2491 avatar Jun 28 '18 13:06 kk2491

Hello,

Thanks for your passion and that's more than welcome to work on Apollo!

I'd recommend you get familer to gtest as a beginning, then look through those test cases in each directory. i.e, free_move, lane_sequence, etc... to find out how the existing test is wrote. Build Apollo, run those test cases, find issues, add new test cases to improve the test coverage.

Thanks, -Jie Liu(Jeff)

freeHackOfJeff avatar Jul 02 '18 11:07 freeHackOfJeff

Hi @freeHackOfJeff Thanks for the reply.. I have been going through the gtest... Will go through and let you know..

kk2491 avatar Jul 02 '18 12:07 kk2491

@freeHackOfJeff Could you please provide me an example on the running the test case ?

That would be really helpful as I am stuck in understanding how to run this test cases.

Thank you, KK

kk2491 avatar Sep 25 '18 08:09 kk2491

So, how about your progress? Have you already run the virtual environment of Apollo on your development machine? also, what's your problem while running any test case?

freeHackOfJeff avatar Sep 26 '18 07:09 freeHackOfJeff

@freeHackOfJeff Yes, I was able to get the test cases' executable files. The files were inside bazel-bin. I am trying to analyze the test case programs, will update here if I face any issues.

Thank you, KK

kk2491 avatar Sep 26 '18 18:09 kk2491

Closing this issue as it appears to be resolved. Feel free to reopen it if you have additional questions. Thanks!

natashadsouza avatar Mar 15 '19 01:03 natashadsouza