# Writing your own Karma adapter

DevFeed: [Writing your own Karma adapter](<https://devfeed.tech/articles/writing-your-own-karma-adapter-2182.md>)

Original publisher: [Read original article](<https://developers.soundcloud.com/blog//writing-your-own-karma-adapter>)

Published: 2013-09-09T00:00:00Z

Content type: tutorial

Language: en

Sources: [SoundCloud Backstage Blog](<https://devfeed.tech/sources/soundcloud-backstage-blog.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Web app](<https://devfeed.tech/topics/webapp.md>), [Continuous integration](<https://devfeed.tech/topics/continuous-integration.md>), [browsers](<https://devfeed.tech/topics/browsers.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [Chrome](<https://devfeed.tech/topics/chrome.md>)

Tags: [browsers](<https://devfeed.tech/tags/browsers.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [ci](<https://devfeed.tech/tags/ci.md>), [html](<https://devfeed.tech/tags/html.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [mobile-web](<https://devfeed.tech/tags/mobile-web.md>), [testing](<https://devfeed.tech/tags/testing.md>), [web-app](<https://devfeed.tech/tags/web-app.md>)

## AI overview

This tutorial explains how to write a custom Karma adapter for the Tyrtle JavaScript unit testing framework. It covers connecting test results and completion status to the Karma API, creating a renderer or reporter, configuring the test files and runner, and handling Karma's browser-serving and caching behavior, including use with an AMD loader.

## Source excerpt

Background When we started to work on the new version of our mobile web app, we knew we wanted to run unit tests on a wide variety of...