From the course: Agile Software Development: Code Quality

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Visualizing code coverage with Code Climate

Visualizing code coverage with Code Climate - SonarQube Tutorial

From the course: Agile Software Development: Code Quality

Start my 1-month free trial

Visualizing code coverage with Code Climate

- [Instructor] In the last video we took a peak at how to add code coverage collection to a Ruby project. We're going to build on top of that, and explore how Code Climate can help us visualize code coverage data. To get started, you'll need to import the repository into Code Climate first. I'll run through this fairly quickly as it's covered in more detail in an earlier video. First thing to do is to open up the repository on GitHub, and clone it into your GitHub account. Then log into Code Climate, click on open source, add repository, scroll down to sinatra, click add repo, and then wait for it's analysis to finish. Click to see the results, and then we're taken to the summary page for this project. We'll notice here, under this bar for maintainability, that there's another bar for test coverage, but it's all solid gray, that's how test coverage is going to look on Code Climate's website until we configure SimpleCov to send the code coverage data up to Code Climate. Code Climate…

Contents