11 Sep 2013 · Semaphore News

    Semaphore partners with Code Climate to provide test coverage service

    2 min read

    At Semaphore, we want to empower great teams to test and deliver high quality apps. Besides providing top-notch build and deployment services, enabling our customers to get more insights from their test suite is a big part of that. Today we’re proud to announce that Semaphore has partnered with Code Climate to provide test coverage services for Ruby applications.

    Working smartly with application and test code determines the team’s ability to ship at a sustainable pace. You need to make sure that your tests exercise enough of your application code. How do you find out which areas of your app are both low quality and untested? Code-to-test ratio is irrelevant if there are many tests for unimportant code or dead code without tests.

    After a very quick setup process, your builds on Semaphore will enable Code Climate to surface test coverage information at the repository, class, and source listing level (down to an individual line of code) and provide feedback as metrics change over time in the form of email alerts, activity feeds, chat notifications and RSS.

    How it works

    Code Climate accepts coverage data sent from Semaphore as it runs your tests. There is a codeclimate-test-reporter RubyGem that you install into your Gemfile. When the build is finished, the gem sends an HTTPS post to Code Climate with a report on which lines of code were executed.

    To make that happen, head over to the Integrations screen in your project’s settings. Code Climate has generously agreed to offer Semaphore customers 20% off their first three months.

    We are very much looking forward to seeing how your code gets even better with these new features.

    Leave a Reply

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

    Writen by:
    Marko Anastasov is a software engineer, author, and co-founder of Semaphore. He worked on building and scaling Semaphore from an idea to a cloud-based platform used by some of the world’s engineering teams.