/gtestForSM

unit test for SM development

Primary LanguageC

  1. clone this porject to local enviroment
git clone this_project
  1. install gtest
sudo apt-get install libgtest-dev
  1. run the script to get results
cd  StateMachine
bash ./run.sh
the unit tests results will show up in terminal
  1. generate the unit test report

    a. copy the results to /html_generator

    cp ./build/report.xml ./html_generator
    

    b. generate html report

    bash ./generate.sh
    
  2. The results should be like:

    results results

    results results