Install gcovr on Mac OSX

About the App

  • App name: gcovr
  • App description: Reports from gcov test coverage program
  • App website: http://gcovr.com/

Install the App

  1. Press Command+Space and type Terminal and press enter/return key.
  2. Run in Terminal app:
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2> /dev/null
    and press enter/return key. If you are prompted to enter your Mac's user password, enter it (when you type it, you wont see it on your screen/terminal.app but it would accept the input; this is to ensure no one can see your password on your screen while you type it. So just type password and press enter, even if you dont see it on your screen). Then wait for the command to finish.
  3. Run:
    brew install gcovr

Done! You can now use gcovr.

Leave a Reply

Your email address will not be published. Required fields are marked *